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:
parent
69496d4e22
commit
8e72f51257
@ -61,6 +61,8 @@
|
||||
|
||||
#if QT_CONFIG(xcb_xlib)
|
||||
#include <X11/Xutil.h>
|
||||
#undef KeyPress
|
||||
#undef KeyRelease
|
||||
#endif
|
||||
|
||||
#ifndef XK_ISO_Left_Tab
|
||||
|
Loading…
Reference in New Issue
Block a user