xserver-multidpi/hw
Olivier Fourdan 937527f979 xwayland: Monitor client states to destroy callbacks
Client resources can survive the client itself, in which case we
may end up in our sync callback trying to access client's data after
it's been freed/reclaimed.

Add a ClientStateCallback handler to monitor the client state changes
and clear the sync callback set up by the glamor drm code if any.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=100040
Tested-by: Mark B <mark.blakeney@bullet-systems.net>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2017-03-09 17:37:05 +09:00
..
dmx dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
kdrive kdrive: Remove now-unused linux backend 2017-03-01 17:51:09 -05:00
vfb vfb: Bump default depth to 24 2017-02-28 14:31:14 -05:00
xfree86 sdksyms: Tighten up the symbols we add to the magic table 2017-03-01 17:50:16 -05:00
xnest dix: Rename (and retype) PixmapPerDepth[1] to defaultStipple 2016-12-12 14:09:59 -05:00
xquartz ddx: add new call to purge input devices that weren't added 2016-10-26 15:35:07 +10:00
xwayland xwayland: Monitor client states to destroy callbacks 2017-03-09 17:37:05 +09:00
xwin shadow: Macro cleanup 2016-12-12 14:10:44 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00