summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XlibInt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 11a85bab..d55c26af 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -883,6 +883,8 @@ void _XEnq(
type = event->u.u.type & 0177;
extension = ((xGenericEvent*)event)->extension;
+
+ qelt->event.type = type;
/* If an extension has registerd a generic_event_vec handler, then
* it can handle event cookies. Otherwise, proceed with the normal
* event handlers.