summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-08 16:19:58 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-08 16:19:58 +0200
commit41710257257939b181a1615937610550b40621b9 (patch)
tree3e7f1d9f55ee6cad6647c81aafde2ec7ce9196d8 /src
parenteeebae55766bd4c0121479a7b7188d6a0545f66c (diff)
DevicePresenceNotify: remove verbosity, fill out all fields
Don't throw a printf every time we get a DPN, and fill in all the fields when copying the structure.
Diffstat (limited to 'src')
-rw-r--r--src/XExtInt.c6
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;