xserver/hw/xwin/ChangeLog
Alexander Gottwald 35f4f784c2 Fix clipboard crashes and silent quits while copying or pasting after using
another Windows application which utilizes the clipboard chain (Dan
    Wilks)
2004-05-09 16:20:13 +00:00

18 lines
846 B
Text

2004-05-09 Alexander Gottwald <ago@freedesktop.org>
* Patch by Dan Wilks <Dan_Wilks@intuit.com>
* winclipboard.h: Add extern prototypes for winDebug, winErrorFVerb
copied from winmsg.h.
* winclipboardinit.c (winFixClipboardChain): Post rather than send the
reinit message to the clipboard window. Sending the message caused,
or possibly just exacerbated an existing, race condition that would
cause the X server to hang when coming back from a remote desktop
session.
* winclipboardwndproc.c (winProcessXEventsTimeout): switch to new
logging api's.
* winclipboardwindproc.c (winClipboardWindowProc): switch to new
logging api's. Add some additional debug logging. Make best effort
to prevent our window appearing twice in the clipboard chain. Also
detect loops when they occur and try to behave in a reasonable way.