mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(X11) Remove useless XGrabs
This commit is contained in:
parent
a60e7ad42a
commit
ce29b70ae9
@ -786,15 +786,6 @@ static void x_grab_mouse(void *data, bool state)
|
||||
return;
|
||||
|
||||
x11->mouse_grabbed = state;
|
||||
|
||||
if (state)
|
||||
{
|
||||
XGrabPointer(x11->display, x11->win, False,
|
||||
ButtonPressMask | ButtonReleaseMask | PointerMotionMask,
|
||||
GrabModeAsync, GrabModeAsync, x11->win, None, CurrentTime);
|
||||
}
|
||||
else
|
||||
XUngrabPointer(x11->display, CurrentTime);
|
||||
}
|
||||
|
||||
static uint64_t x_input_get_capabilities(void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user