Peter Kümmel <[EMAIL PROTECTED]> writes:

| Peter Kümmel wrote:
| > 
| > And no keys will be dropped?
| > 
| > We could also put in your patch, as it is only a problem on Linux.
| > Do you think we could use QApplication::synxX() instead of the X11
| > call?
| 
| The Qt code:
| 
http://websvn.kde.org/*checkout*/trunk/qt-copy/src/gui/kernel/qapplication_x11.cpp?content-type=text%2Fplain
| 
| void QApplication::syncX()
| {
|     if (X11->display)
|         XSync(X11->display, False);                        // don't discard 
events
| }
| 
| 
| Seems we could use this function instead.

Did you test? It is not equal to the  XSync I use.
False <-> True
I am quite certain the True is required.

And we still need the XEventsQueued.

-- 
        Lgb

Reply via email to