summaryrefslogtreecommitdiff
path: root/qt4/l-qclipboard_delay.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-12 14:00:20 +0100
committerErich Eckner <git@eckner.net>2019-12-12 14:00:20 +0100
commitaea50ea70924ce64a580e4df9d4860a917bfd54e (patch)
tree0dd928c0bb230a71984dc7f27306fb5ba06c8842 /qt4/l-qclipboard_delay.patch
parentb8d841f4773f344f3e89b6c9d692ad8af0d3818e (diff)
downloadarchlinuxewe.git.save-aea50ea70924ce64a580e4df9d4860a917bfd54e.tar.xz
qt4 neu
Diffstat (limited to 'qt4/l-qclipboard_delay.patch')
-rw-r--r--qt4/l-qclipboard_delay.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt4/l-qclipboard_delay.patch b/qt4/l-qclipboard_delay.patch
new file mode 100644
index 00000000..22643e8d
--- /dev/null
+++ b/qt4/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();
+