Make motion notify debug message more verbose

This commit is contained in:
Bastien Dejean 2015-06-10 09:41:24 +02:00
parent 939530c9bd
commit a1d07d6811

View file

@ -348,11 +348,11 @@ void leave_notify(xcb_generic_event_t *evt)
void motion_notify(xcb_generic_event_t *evt)
{
PUTS("motion notify");
xcb_motion_notify_event_t *e = (xcb_motion_notify_event_t *) evt;
xcb_window_t win = e->event;
PRINTF("motion notify %X %i %i\n", win, e->root_x, e->root_y);
int dtime = e->time - last_motion_time;
if (dtime > 1000) {
last_motion_time = e->time;