summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-02-08 22:37:30 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-26 13:42:06 +0000
commitae981341a98f7a1ee5d6f3bc8ebde04e42042dc5 (patch)
treefb7ef217f1c5033890dc8d3835c2b293af20aa76 /hw
parentb1093241f3e28223a139e7cb5c3ae85182bdf545 (diff)
hw/xwin: Give the X window for the clipboard integration client a name
This makes it a bit easier to find when staring at the output of 'xwininfo -tree -root' Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/xwin/winclipboardthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboardthread.c
index 908dfcea2..4cffa8013 100644
--- a/hw/xwin/winclipboardthread.c
+++ b/hw/xwin/winclipboardthread.c
@@ -236,6 +236,8 @@ winClipboardProc (void *pvNotUsed)
pthread_exit (NULL);
}
+ XStoreName(pDisplay, iWindow, "xwinclip");
+
/* Select event types to watch */
if (XSelectInput (pDisplay,
iWindow,