[client] x11: sync the mouse on meta resize

This commit is contained in:
Geoffrey McRae 2022-01-26 14:55:30 +11:00
parent 79e986cc60
commit e17b289759

View File

@ -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;
}