use decimal coordinates in debug message

This commit is contained in:
Michael Stapelberg 2010-07-11 22:01:25 +02:00
parent 1a0fcea48e
commit 61f9a79347

View File

@ -157,7 +157,7 @@ int handle_enter_notify(void *ignored, xcb_connection_t *conn,
DLOG("enter_notify for %08x, mode = %d, detail %d, serial %d\n", DLOG("enter_notify for %08x, mode = %d, detail %d, serial %d\n",
event->event, event->mode, event->detail, event->sequence); event->event, event->mode, event->detail, event->sequence);
DLOG("coordinates %x, %x\n", event->event_x, event->event_y); DLOG("coordinates %d, %d\n", event->event_x, event->event_y);
if (event->mode != XCB_NOTIFY_MODE_NORMAL) { if (event->mode != XCB_NOTIFY_MODE_NORMAL) {
DLOG("This was not a normal notify, ignoring\n"); DLOG("This was not a normal notify, ignoring\n");
return 1; return 1;