xserver-multidpi/hw/xwayland
Jasper St. Pierre 6c442fc4f7 xwayland-input: Fix a crasher for a race with the Wayland compositor
If something quickly maps and unmaps a window, then we'll immediately
create and destroy the Wayland surface that cooresponds to that
window. If our mouse pointer is over the window when the surface is
created, we'll receive a enter on the window.

Since resource creation and destruction is not synchronous, that
means that the compositor will queue up an event for a resource that's
eventually destroyed. On the client-side, when we receive this message,
we note that the resource isn't allocated, and get a NULL surface in our
enter handler. We immediately try to dereference this, and then crash.

This was caused by running gtkperf while moving the window a lot.

Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net>
2014-09-11 23:40:20 -06: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 and DRI3 support 2014-06-24 15:09:55 -07:00
xwayland-cursor.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-cvt.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-glamor.c xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
xwayland-input.c xwayland-input: Fix a crasher for a race with the Wayland compositor 2014-09-11 23:40:20 -06:00
xwayland-output.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-shm.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland.c xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
xwayland.h Fix files including xorg-server.h by mistake 2014-07-30 12:17:27 -07:00