mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[client] lgmp: restore held mouse mode
This commit is contained in:
@@ -1375,7 +1375,10 @@ static bool updateMouseButton(void * opaque, unsigned int button,
|
|||||||
result = reset;
|
result = reset;
|
||||||
}
|
}
|
||||||
if (result && !reset)
|
if (result && !reset)
|
||||||
|
{
|
||||||
input->mouseButtons = buttons;
|
input->mouseButtons = buttons;
|
||||||
|
input->mouseMode = mode;
|
||||||
|
}
|
||||||
LG_UNLOCK(input->lock);
|
LG_UNLOCK(input->lock);
|
||||||
|
|
||||||
if (wake)
|
if (wake)
|
||||||
|
|||||||
Reference in New Issue
Block a user