summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/xcb/qxcbkeyboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbkeyboard.cpp b/src/plugins/platforms/xcb/qxcbkeyboard.cpp
index 9aedee109f..136faec855 100644
--- a/src/plugins/platforms/xcb/qxcbkeyboard.cpp
+++ b/src/plugins/platforms/xcb/qxcbkeyboard.cpp
@@ -61,6 +61,8 @@
#if QT_CONFIG(xcb_xlib)
#include <X11/Xutil.h>
+#undef KeyPress
+#undef KeyRelease
#endif
#ifndef XK_ISO_Left_Tab