XCB: Undef KeyPress and KeyRelease also when not using xinput2

The defines come from X.h here, which is included via Xutil.h.

Change-Id: I19887424cff28567fcbb1c352b42bb9d750b1928
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
This commit is contained in:
Ulf Hermann 2018-01-08 11:07:59 +01:00
parent 69496d4e22
commit 8e72f51257

View File

@ -61,6 +61,8 @@
#if QT_CONFIG(xcb_xlib)
#include <X11/Xutil.h>
#undef KeyPress
#undef KeyRelease
#endif
#ifndef XK_ISO_Left_Tab