diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-20 12:31:48 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-25 18:07:34 (GMT) |
commit | 9787509be13bfe9e05c4e6f7ab76150edecf133f (patch) | |
tree | 62ff239953ad8e1f0c76113b1dcd27ab269548c4 | |
parent | 01f21cb23b83ec36267fd606e6137bd7765133c1 (diff) | |
download | Qt-9787509be13bfe9e05c4e6f7ab76150edecf133f.zip Qt-9787509be13bfe9e05c4e6f7ab76150edecf133f.tar.gz Qt-9787509be13bfe9e05c4e6f7ab76150edecf133f.tar.bz2 |
Fix X11 clipboard bug.
Truth be told, the x11 clipboard integration in testlite was done rather
quickly, thus leaving some cornercases open
-rw-r--r-- | src/plugins/platforms/testlite/qtestliteclipboard.cpp | 6 |
1 files 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"); // } |