mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Make motion notify debug message more verbose
This commit is contained in:
parent
939530c9bd
commit
a1d07d6811
1 changed files with 2 additions and 2 deletions
4
events.c
4
events.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue