mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 00:26:32 +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 meta ungrab for move/resize
|
||||||
if (xie->mode == XINotifyUngrab)
|
if (xie->mode == XINotifyUngrab)
|
||||||
|
{
|
||||||
|
app_updateCursorPos(xie->event_x, xie->event_y);
|
||||||
app_handleFocusEvent(true);
|
app_handleFocusEvent(true);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1058,7 +1061,10 @@ static void x11XInputEvent(XGenericEventCookie *cookie)
|
|||||||
{
|
{
|
||||||
// if meta grab for move/resize
|
// if meta grab for move/resize
|
||||||
if (xie->mode == XINotifyGrab)
|
if (xie->mode == XINotifyGrab)
|
||||||
|
{
|
||||||
|
app_updateCursorPos(xie->event_x, xie->event_y);
|
||||||
app_handleFocusEvent(false);
|
app_handleFocusEvent(false);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user