xserver-multidpi/hw/xwayland
Olivier Fourdan 7397a2191f xwayland-input: Fake crossing to rootwin
This partially reverts commit c1565f3.

When the pointer moves from an X11 window to a Wayland native window,
no LeaveNotify event is emitted which can lead to various unexpected
behaviors like tooltips remaining visible after the pointer has left the
window.

Yet the pointer_handle_leave() is called and so is the DIX CheckMotion()
but since the pointer enters a Wayland native window with no other
Xwayland window matching, DoEnterLeaveEvents() does not get invoked and
therefore no LeaveNotify event is sent to the X11 client at the time the
pointer leaves the window for a Wayland native surface.

Restore the XYToWindow() handler in xwayland-input that was previously
removed with commit c1565f3 and use that handler to pretend that the
pointer entered the root window in this case so that the LeaveNotify
event is emitted.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96437

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-06-23 16:00:30 +10:00
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
Makefile.am xwayland: add glamor Xv adaptor 2016-03-09 14:03:03 -05:00
xwayland-cursor.c wayland: clear resource for pixmap on unrealize 2016-06-13 16:07:25 -04:00
xwayland-cvt.c xwayland: do not include frequency in mode name 2016-03-28 14:09:09 -04:00
xwayland-glamor-xv.c xwayland: Fix compiler warning in GLAMOR Xv 2016-04-15 16:22:16 -04:00
xwayland-glamor.c xwayland: Fix whitespace errors 2016-06-20 15:40:07 +10:00
xwayland-input.c xwayland-input: Fake crossing to rootwin 2016-06-23 16:00:30 +10:00
xwayland-output.c xwayland: Fix whitespace errors 2016-06-20 15:40:07 +10:00
xwayland-shm.c xwayland-shm: fortify fallocate against EINTR 2016-04-25 15:29:40 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: sync event queue to check compositor reply 2016-06-03 09:44:09 +02:00
xwayland.h xwayland-input: Fake crossing to rootwin 2016-06-23 16:00:30 +10:00