File xorg-server-xf4vnc-cutpaste.diff of Package xorg-x11-server.import4546

Index: hw/vnc/cutpaste.c
================================================================================
--- hw/vnc/cutpaste.c
+++ hw/vnc/cutpaste.c
@@ -58,7 +58,7 @@
 			 8, PropModeReplace, len,
 			 (pointer)str, TRUE);
     
-    if (dixLookupSelection(&pSel, XA_PRIMARY, serverClient, DixSetAttrAccess)) {
+    if (dixLookupSelection(&pSel, XA_PRIMARY, serverClient, DixSetAttrAccess) == Success) {
 	xEvent event;
 
 	if (pSel->client) {
openSUSE Build Service is sponsored by