Merge branch 'master' of https://github.com/libretro/RetroArch into master
This commit is contained in:
commit
76e96bdd0b
|
@ -786,15 +786,6 @@ static void x_grab_mouse(void *data, bool state)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
x11->mouse_grabbed = state;
|
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)
|
static uint64_t x_input_get_capabilities(void *data)
|
||||||
|
|
Loading…
Reference in New Issue