summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguieventdispatcher_glib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qguieventdispatcher_glib.cpp')
-rw-r--r--src/gui/kernel/qguieventdispatcher_glib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qguieventdispatcher_glib.cpp b/src/gui/kernel/qguieventdispatcher_glib.cpp
index 7b30741..ac2b5f7 100644
--- a/src/gui/kernel/qguieventdispatcher_glib.cpp
+++ b/src/gui/kernel/qguieventdispatcher_glib.cpp
@@ -216,4 +216,9 @@ void QGuiEventDispatcherGlib::startingUp()
g_source_add_poll(&d->x11EventSource->source, &d->x11EventSource->pollfd);
}
+void QGuiEventDispatcherGlib::flush()
+{
+ XFlush(X11->display);
+}
+
QT_END_NAMESPACE