]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/xstroke/xstroke-0.6/auto-disable.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / xstroke / xstroke-0.6 / auto-disable.patch
1 Index: control_win.c
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
8 @@ -646,9 +646,11 @@
9      if (XGetWindowAttributes(dpy, window, &attr)) {
10         if (attr.all_event_masks & (KeyPressMask | KeyReleaseMask)) {
11             return 1;
12 +       } else if (attr.all_event_masks & PointerMotionMask) {
13 +           return 0;
14         }
15      }
16 -    return 0;
17 +    return 1;
18  }
19  
20  /*