aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2013-11-06 15:27:04 +0000
committerPierre Ossman <ossman@cendio.se>2013-11-06 15:27:04 +0000
commit3027bc5705d3923581b1a025122db0e729b59fcf (patch)
treebafa9736989b9a3373bb56f9ab66b4617015993f /unix
parentee1e5e5b8ad3cff2d1284a51c7a4d6e14c595ed1 (diff)
downloadtigervnc-3027bc5705d3923581b1a025122db0e729b59fcf.tar.gz
tigervnc-3027bc5705d3923581b1a025122db0e729b59fcf.zip
Some applications probe for clipboard formats using the
trial-and-error method rather than asking for TARGETS. We need to make sure we properly report unsupported formats back to these. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5137 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r--unix/tx/TXWindow.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tx/TXWindow.cxx b/unix/tx/TXWindow.cxx
index 2b535df8..12e6ebad 100644
--- a/unix/tx/TXWindow.cxx
+++ b/unix/tx/TXWindow.cxx
@@ -454,6 +454,8 @@ void TXWindow::handleXEvent(XEvent* ev)
} else if (se.target == XA_STRING) {
if (!selectionRequest(se.requestor, se.selection, se.property))
se.property = None;
+ } else {
+ se.property = None;
}
}
XSendEvent(dpy, se.requestor, False, 0, (XEvent*)&se);