mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[client] x11: sync the mouse on meta resize
This commit is contained in:
parent
79e986cc60
commit
e17b289759
@ -1032,7 +1032,10 @@ static void x11XInputEvent(XGenericEventCookie *cookie)
|
||||
{
|
||||
// if meta ungrab for move/resize
|
||||
if (xie->mode == XINotifyUngrab)
|
||||
{
|
||||
app_updateCursorPos(xie->event_x, xie->event_y);
|
||||
app_handleFocusEvent(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1058,7 +1061,10 @@ static void x11XInputEvent(XGenericEventCookie *cookie)
|
||||
{
|
||||
// if meta grab for move/resize
|
||||
if (xie->mode == XINotifyGrab)
|
||||
{
|
||||
app_updateCursorPos(xie->event_x, xie->event_y);
|
||||
app_handleFocusEvent(false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user