summarylogtreecommitdiffstats
path: root/l-qclipboard_delay.patch
diff options
context:
space:
mode:
authorAntonio Orefice2016-03-08 09:46:29 +0100
committerAntonio Orefice2016-03-08 09:46:29 +0100
commit36b256137c9fa050f26d7a48322a9f6fa76b489f (patch)
tree71f83f8367597a7e61d792239f106c1741d3082d /l-qclipboard_delay.patch
downloadaur-36b256137c9fa050f26d7a48322a9f6fa76b489f.tar.gz
first unuseful commit message
Diffstat (limited to 'l-qclipboard_delay.patch')
-rw-r--r--l-qclipboard_delay.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/l-qclipboard_delay.patch b/l-qclipboard_delay.patch
new file mode 100644
index 000000000000..22643e8d5a01
--- /dev/null
+++ b/l-qclipboard_delay.patch
@@ -0,0 +1,12 @@
+--- src/gui/kernel/qclipboard_x11.cpp.sav 2014-04-25 09:52:03.855693228 +0200
++++ src/gui/kernel/qclipboard_x11.cpp 2014-04-25 09:51:58.038693777 +0200
+@@ -548,7 +548,8 @@ bool QX11Data::clipboardWaitForEvent(Win
+ return false;
+
+ XSync(X11->display, false);
+- usleep(50000);
++ if (!XPending(X11->display))
++ usleep(5000);
+
+ now.start();
+