diff --git a/client/displayservers/X11/x11.c b/client/displayservers/X11/x11.c index 6e2f7d71..6b891b6d 100644 --- a/client/displayservers/X11/x11.c +++ b/client/displayservers/X11/x11.c @@ -359,6 +359,16 @@ static bool x11EventFilter(SDL_Event * event) return true; } + case XI_Motion: + { + if (!x11.focused || !x11.entered) + return true; + + XIDeviceEvent *device = cookie->data; + app_updateCursorPos(device->event_x, device->event_y); + return true; + } + case XI_RawMotion: { if (!x11.focused || !x11.entered)