Magellan Linux

Contents of /trunk/qt4/patches/qt-4.8.7-l-qclipboard_delay.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2917 - (show annotations) (download)
Wed May 17 09:04:25 2017 UTC (6 years, 11 months ago) by niro
File size: 418 byte(s)
-fixed patches
1 --- src/gui/kernel/qclipboard_x11.cpp.sav 2014-04-25 09:52:03.855693228 +0200
2 +++ src/gui/kernel/qclipboard_x11.cpp 2014-04-25 09:51:58.038693777 +0200
3 @@ -548,7 +548,8 @@ bool QX11Data::clipboardWaitForEvent(Win
4 return false;
5
6 XSync(X11->display, false);
7 - usleep(50000);
8 + if (!XPending(X11->display))
9 + usleep(5000);
10
11 now.start();
12