2 ===================================================================
3 RCS file: /cvs/xstroke/xstroke/control_win.c,v
4 retrieving revision 1.21
5 diff -u -r1.21 control_win.c
6 --- control_win.c 28 Sep 2003 11:53:42 -0000 1.21
7 +++ control_win.c 24 Jul 2004 15:02:52 -0000
9 if (XGetWindowAttributes(dpy, window, &attr)) {
10 if (attr.all_event_masks & (KeyPressMask | KeyReleaseMask)) {
12 + } else if (attr.all_event_masks & PointerMotionMask) {