summaryrefslogtreecommitdiff
path: root/hw/xwin/winclipboard/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winclipboard/thread.c')
-rw-r--r--hw/xwin/winclipboard/thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xwin/winclipboard/thread.c b/hw/xwin/winclipboard/thread.c
index 58b3bf74d..bab5e1cfb 100644
--- a/hw/xwin/winclipboard/thread.c
+++ b/hw/xwin/winclipboard/thread.c
@@ -188,6 +188,7 @@ winClipboardProc(Bool fUseUnicode, char *szDisplay)
atoms.atomUTF8String = XInternAtom (pDisplay, "UTF8_STRING", False);
atoms.atomCompoundText = XInternAtom (pDisplay, "COMPOUND_TEXT", False);
atoms.atomTargets = XInternAtom (pDisplay, "TARGETS", False);
+ atoms.atomIncr = XInternAtom (pDisplay, "INCR", False);
/* Create a messaging window */
iWindow = XCreateSimpleWindow(pDisplay,
@@ -254,6 +255,8 @@ winClipboardProc(Bool fUseUnicode, char *szDisplay)
}
data.fUseUnicode = fUseUnicode;
+ data.incr = NULL;
+ data.incrsize = 0;
/* Loop for events */
while (1) {