Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2917 - (hide annotations) (download)
Wed May 17 09:04:25 2017 UTC (7 years ago) by niro
File size: 418 byte(s)
-fixed patches
1 niro 2917 --- 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 niro 2913 return false;
5    
6 niro 2917 XSync(X11->display, false);
7     - usleep(50000);
8     + if (!XPending(X11->display))
9     + usleep(5000);
10 niro 2913
11     now.start();
12