Skip to content

xcb: fix thread synchronization in QXcbEventQueue::waitForNewEvents() again

(cherry picked from commit b427721f) (from Qt 5.12)

According to https://codereview.qt-project.org/c/qt/qtbase/+/286312, a version of this commit is included in branches 6.1, 6.2, dev. As far as I can tell, it has been cherry-picked to Qt 5.15, not only to Qt 5.12.

I don't know if this bug affects a KDE product. https://community.kde.org/Qt5PatchCollection only requires "referencing a relevant defect report in an open source product". Here is a reference to a GoldenDict issue fixed by this commit: https://github.com/goldendict/goldendict/issues/1166.

See also the commit message.

Merge request reports