summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-06-19 14:00:28 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-07-25 17:03:03 +0100
commit1538dbfdae95ffda0878ff31d0e13d65c4ba5974 (patch)
tree2946b4b4a95f4e46607b3291af460859dda7f697 /hw
parentadb830ec176029c0b3eb6d599f81148fcf4a61eb (diff)
Improve comment about why we can't XCloseDisplay()
Diffstat (limited to 'hw')
-rw-r--r--hw/xwin/winclipboard/thread.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/xwin/winclipboard/thread.c b/hw/xwin/winclipboard/thread.c
index 98febea0a..9af80910b 100644
--- a/hw/xwin/winclipboard/thread.c
+++ b/hw/xwin/winclipboard/thread.c
@@ -375,8 +375,11 @@ winClipboardProc(Bool fUseUnicode, char *szDisplay)
#if 0
/*
- * FIXME: XCloseDisplay hangs if we call it, as of 2004/03/26. The
- * XSync and XSelectInput calls did not help.
+ * FIXME: XCloseDisplay hangs if we call it
+ *
+ * XCloseDisplay() calls XSync(), so any outstanding errors are reported.
+ * If we are built into the server, this can deadlock if the server is
+ * in the process of exiting and waiting for this thread to exit.
*/
/* Discard any remaining events */