xserver-multidpi/hw
Jon TURNEY d172cd630d hw/xwin: Fix hang on shutdown when we own the clipboard.
If we are the clipboard owner when we are shutdown, we recieve a
WM_RENDERALLFORMATS, to render the clipboard, so it's contents will remain
available to other applications.  Unfortunately, this is far too late to do
anything useful with, as the server is waiting for the clipboard thread to exit,
and so can't process requests to convert clipboard contents.

Change so we just do nothing on WM_RENDERALLFORMATS. (I'm not convinced that
WM_RENDERALLFORMATS has ever worked usefully, in any case).

(To make this work, I guess we would need to rearrange the way shutdown works
completely: first synchronously stop the clipboard, then stop the X server)

We also then receive a WM_DRAWCLIPBOARD, perhaps telling us that the available
clipboard formats have changed (as ones which haven't been rendered are now
removed), but the clipboard owner is now the system, not us, which we have to
arrange to ignore.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2014-11-09 14:22:53 +00:00
..
dmx dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
kdrive dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 xfree86: Bump ABI versions (video: 19, extension: 9) 2014-10-30 13:57:16 -07:00
xnest dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
xquartz xquartz: Remove useless DRIWindowExposures 2014-10-08 16:01:35 +02:00
xwayland xwayland: always include drm.xml in tarballs 2014-09-18 15:07:20 -07:00
xwin hw/xwin: Fix hang on shutdown when we own the clipboard. 2014-11-09 14:22:53 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00