Signed-off-by: Laércio de Sousa <[email protected]>
---
hw/kdrive/ephyr/ephyr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index fe947db..5a8d9ef 100644
--- a/hw/kdrive/ephyr/ephyr.c
+++ b/hw/kdrive/ephyr/ephyr.c
@@ -27,6 +27,7 @@
#include <kdrive-config.h>
#endif
+#include <xcb/xcb_event.h>
#include <xcb/xcb_keysyms.h>
#include <X11/keysym.h>
@@ -1127,7 +1128,7 @@ ephyrXcbNotify(int fd, int ready, void *data)
break;
}
- switch (xev->response_type & 0x7f) {
+ switch (XCB_EVENT_RESPONSE_TYPE(xev)) {
case 0:
ephyrProcessErrorEvent(xev);
break;
--
2.7.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel