diff --git a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp index a56e4c277a..005c44a034 100644 --- a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp +++ b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp @@ -74,7 +74,7 @@ static gboolean userEventSourceCheck(GSource *source) static gboolean userEventSourceDispatch(GSource *s, GSourceFunc, gpointer) { GUserEventSource * source = reinterpret_cast(s); - QWindowSystemInterface::sendWindowSystemEvents(source->q, flags); + QWindowSystemInterface::sendWindowSystemEvents(source->q, QEventLoop::AllEvents); return true; }