From 9787509be13bfe9e05c4e6f7ab76150edecf133f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Thu, 20 Jan 2011 13:31:48 +0100 Subject: Fix X11 clipboard bug. Truth be told, the x11 clipboard integration in testlite was done rather quickly, thus leaving some cornercases open --- src/plugins/platforms/testlite/qtestliteclipboard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/platforms/testlite/qtestliteclipboard.cpp b/src/plugins/platforms/testlite/qtestliteclipboard.cpp index 25c16ea..d77d45a 100644 --- a/src/plugins/platforms/testlite/qtestliteclipboard.cpp +++ b/src/plugins/platforms/testlite/qtestliteclipboard.cpp @@ -386,9 +386,9 @@ void QTestLiteClipboard::handleSelectionRequest(XEvent *xevent) ; } else if (target == xa_timestamp) { // if (d->timestamp != CurrentTime) { - XChangeProperty(screen()->display(), req->requestor, property, XA_INTEGER, 32, - PropModeReplace, CurrentTime, 1); - ret = property; +// XChangeProperty(screen()->display(), req->requestor, property, XA_INTEGER, 32, +// PropModeReplace, CurrentTime, 1); +// ret = property; // } else { // qWarning("QClipboard: Invalid data timestamp"); // } -- cgit v0.12