summaryrefslogtreecommitdiff
path: root/src/XExtInt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XExtInt.c')
-rw-r--r--src/XExtInt.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 5052b7f..2323ce8 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -849,6 +849,23 @@ XInputWireToEvent(
*re = *save;
return ENQUEUE_EVENT;
}
+ case XI_DevicePropertyNotify:
+ {
+ XDevicePropertyNotifyEvent* dpn_event =
+ (XDevicePropertyNotifyEvent*)save;
+ devicePropertyNotifyEvent* dpn_wire =
+ (devicePropertyNotifyEvent*)event;
+
+ dpn_event->extension = dpn_wire->extension;
+ dpn_event->evtype = dpn_wire->evtype;
+ dpn_event->time = dpn_wire->time;
+ dpn_event->deviceid = dpn_wire->deviceid;
+ dpn_event->atom = dpn_wire->atom;
+ dpn_event->state = dpn_wire->state;
+
+ *re = *save;
+ return ENQUEUE_EVENT;
+ }
default:
printf("XInputWireToEvent: Unknown generic event. type %d\n", ge->evtype);