| 110 | } |
| 111 | |
| 112 | static void |
| 113 | do_MotionNotify (FILE* out_f, XEvent *eventp) |
| 114 | { |
| 115 | XMotionEvent *e = (XMotionEvent *) eventp; |
| 116 | |
| 117 | fprintf(out_f," root 0x%lx, subw 0x%lx, time %lu, (%d,%d), root:(%d,%d),\n", |
| 118 | e->root, e->subwindow, e->time, e->x, e->y, e->x_root, e->y_root); |
| 119 | fprintf(out_f," state 0x%x, is_hint %u, same_screen %s\n", |
| 120 | e->state, e->is_hint, e->same_screen ? Yes : No); |
| 121 | } |
| 122 | |
| 123 | static void |
| 124 | do_EnterNotify (FILE* out_f, XEvent *eventp) |