Blame qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
|
Kevin Kofler |
0da4087 |
--- src/gui/kernel/qclipboard_x11.cpp.sav 2014-04-25 09:52:03.855693228 +0200
|
|
Kevin Kofler |
0da4087 |
+++ src/gui/kernel/qclipboard_x11.cpp 2014-04-25 09:51:58.038693777 +0200
|
|
Kevin Kofler |
0da4087 |
@@ -548,7 +548,8 @@ bool QX11Data::clipboardWaitForEvent(Win
|
|
Kevin Kofler |
0da4087 |
return false;
|
|
Kevin Kofler |
0da4087 |
|
|
Kevin Kofler |
0da4087 |
XSync(X11->display, false);
|
|
Kevin Kofler |
0da4087 |
- usleep(50000);
|
|
Kevin Kofler |
0da4087 |
+ if (!XPending(X11->display))
|
|
Kevin Kofler |
0da4087 |
+ usleep(5000);
|
|
Kevin Kofler |
0da4087 |
|
|
Kevin Kofler |
0da4087 |
now.start();
|
|
Kevin Kofler |
0da4087 |
|