summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qt_xlib_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/qt_xlib_wrapper.c')
-rw-r--r--src/plugins/platforms/xcb/qt_xlib_wrapper.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qt_xlib_wrapper.c b/src/plugins/platforms/xcb/qt_xlib_wrapper.c
new file mode 100644
index 0000000000..f4614e5504
--- /dev/null
+++ b/src/plugins/platforms/xcb/qt_xlib_wrapper.c
@@ -0,0 +1,7 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+#include "qt_xlib_wrapper.h"
+
+#include <X11/Xlib.h>
+
+void qt_XFlush(Display *dpy) { XFlush(dpy); }