]>
Commit | Line | Data |
---|---|---|
85e3a333 AM |
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 |