diff options
-rw-r--r-- | src/XExtInt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index b7297dc..427e406 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -681,12 +681,12 @@ XInputWireToEvent(dpy, re, event) XDevicePresenceNotifyEvent *ev = (XDevicePresenceNotifyEvent *) re; devicePresenceNotify *ev2 = (devicePresenceNotify *) event; - fprintf(stderr, "got DevicePresenceNotify event (reltype=%d)\n", - reltype); - *ev = *(XDevicePresenceNotifyEvent *) save; ev->window = 0; ev->time = ev2->time; + ev->devchange = ev2->devchange; + ev->deviceid = ev2->deviceid; + ev->control = ev2->control; return (ENQUEUE_EVENT); } break; |