]>
Commit | Line | Data |
---|---|---|
6d20e018 KK |
1 | Index: NEW |
2 | =================================================================== | |
3 | RCS file: /home/cvsroot/afterstep-stable/NEW,v | |
4 | retrieving revision 1.42 | |
5 | retrieving revision 1.43 | |
6 | diff -u -r1.42 -r1.43 | |
7 | --- NEW 2 Apr 2009 20:17:42 -0000 1.42 | |
8 | +++ NEW 30 Sep 2009 15:12:04 -0000 1.43 | |
9 | @@ -1,3 +1,6 @@ | |
10 | + * new WarpPointer feel option to make pointer warping on viewport change | |
11 | + switcheable. Contributed by Chris Nix. | |
12 | + | |
13 | version 2.2.9 release | |
14 | * Menu Mini Pixmaps will no longer be loaded if MenuMiniPixmaps is set 0 | |
15 | in look. | |
16 | Index: libAfterConf/AfterStep.c | |
17 | =================================================================== | |
18 | RCS file: /home/cvsroot/afterstep-stable/libAfterConf/AfterStep.c,v | |
19 | retrieving revision 1.29 | |
20 | retrieving revision 1.30 | |
21 | diff -u -r1.29 -r1.30 | |
22 | --- libAfterConf/AfterStep.c 13 Jun 2008 16:32:50 -0000 1.29 | |
23 | +++ libAfterConf/AfterStep.c 30 Sep 2009 15:12:04 -0000 1.30 | |
24 | @@ -334,6 +334,7 @@ | |
25 | {TF_NO_MYNAME_PREPENDING, "SaveUnders",10 , TT_FLAG , FEEL_SaveUnders_ID , NULL}, \ | |
26 | {TF_NO_MYNAME_PREPENDING, "PagingDefault",13 , TT_FLAG , FEEL_PagingDefault_ID , NULL}, \ | |
27 | {TF_NO_MYNAME_PREPENDING, "AutoTabThroughDesks",19 , TT_FLAG , FEEL_AutoTabThroughDesks_ID , NULL}, \ | |
28 | + {TF_NO_MYNAME_PREPENDING, "WarpPointer",11 , TT_FLAG , FEEL_WarpPointer_ID , NULL}, \ | |
29 | {TF_NO_MYNAME_PREPENDING, "ClickTime",9 , TT_UINTEGER , FEEL_ClickTime_ID , NULL}, \ | |
30 | {TF_NO_MYNAME_PREPENDING, "OpaqueMove",10 , TT_UINTEGER , FEEL_OpaqueMove_ID , NULL}, \ | |
31 | {TF_NO_MYNAME_PREPENDING, "OpaqueResize",12 , TT_UINTEGER , FEEL_OpaqueResize_ID , NULL}, \ | |
32 | Index: libAfterConf/Feel.c | |
33 | =================================================================== | |
34 | RCS file: /home/cvsroot/afterstep-stable/libAfterConf/Feel.c,v | |
35 | retrieving revision 1.39 | |
36 | retrieving revision 1.40 | |
37 | diff -u -r1.39 -r1.40 | |
38 | --- libAfterConf/Feel.c 21 Mar 2008 22:48:51 -0000 1.39 | |
39 | +++ libAfterConf/Feel.c 30 Sep 2009 15:12:04 -0000 1.40 | |
40 | @@ -78,6 +78,7 @@ | |
41 | /* pageing */ | |
42 | {DoHandlePageing , FEEL_PagingDefault_ID , 0}, | |
43 | {AutoTabThroughDesks , FEEL_AutoTabThroughDesks_ID , 0}, | |
44 | + {WarpPointer , FEEL_WarpPointer_ID , 0}, | |
45 | ||
46 | {0, 0, 0} | |
47 | }; | |
48 | Index: libAfterConf/afterconf.h | |
49 | =================================================================== | |
50 | RCS file: /home/cvsroot/afterstep-stable/libAfterConf/afterconf.h,v | |
51 | retrieving revision 1.174 | |
52 | retrieving revision 1.175 | |
53 | diff -u -r1.174 -r1.175 | |
54 | --- libAfterConf/afterconf.h 15 Jul 2009 16:13:39 -0000 1.174 | |
55 | +++ libAfterConf/afterconf.h 30 Sep 2009 15:12:04 -0000 1.175 | |
56 | @@ -1991,9 +1991,10 @@ | |
57 | #define FEEL_Tile_ID (FEEL_PLACEMENT_START_ID+2) | |
58 | #define FEEL_Cascade_ID (FEEL_PLACEMENT_START_ID+3) | |
59 | #define FEEL_UnderPointer_ID (FEEL_PLACEMENT_START_ID+4) | |
60 | -#define FEEL_Manual_ID (FEEL_PLACEMENT_START_ID+5) | |
61 | +#define FEEL_WarpPointer_ID (FEEL_PLACEMENT_START_ID+5) | |
62 | +#define FEEL_Manual_ID (FEEL_PLACEMENT_START_ID+6) | |
63 | ||
64 | -#define FEEL_ID_END (FEEL_PLACEMENT_START_ID+10) | |
65 | +#define FEEL_ID_END (FEEL_PLACEMENT_START_ID+11) | |
66 | ||
67 | /************************************ | |
68 | * WindowBox configuration may look something like this : | |
69 | Index: libAfterStep/asfeel.h | |
70 | =================================================================== | |
71 | RCS file: /home/cvsroot/afterstep-stable/libAfterStep/asfeel.h,v | |
72 | retrieving revision 1.22 | |
73 | retrieving revision 1.23 | |
74 | diff -u -r1.22 -r1.23 | |
75 | --- libAfterStep/asfeel.h 13 Jun 2008 16:32:51 -0000 1.22 | |
76 | +++ libAfterStep/asfeel.h 30 Sep 2009 15:12:04 -0000 1.23 | |
77 | @@ -81,7 +81,8 @@ | |
78 | DontAnimateBackground = (1 << 26), | |
79 | WinListHideIcons = (1 << 27), | |
80 | AnimateDeskChange = (1 << 28), | |
81 | - DontCoverDesktop = (1 << 29) | |
82 | + DontCoverDesktop = (1 << 29), | |
83 | + WarpPointer = (1 << 30) | |
84 | }FeelFlags; | |
85 | ||
86 | /* since we have too many feel flags - we want another enum for | |
87 | Index: src/afterstep/configure.c | |
88 | =================================================================== | |
89 | RCS file: /home/cvsroot/afterstep-stable/src/afterstep/configure.c,v | |
90 | retrieving revision 1.195 | |
91 | retrieving revision 1.196 | |
92 | diff -u -r1.195 -r1.196 | |
93 | --- src/afterstep/configure.c 1 Apr 2009 21:35:09 -0000 1.195 | |
94 | +++ src/afterstep/configure.c 30 Sep 2009 15:12:04 -0000 1.196 | |
95 | @@ -359,6 +359,7 @@ | |
96 | {"WinListSortOrder", SetInts, (char**)&TmpFeel.winlist_sort_order, (int *)&dummy}, | |
97 | {"WinListHideIcons", SetFlag2, (char**)WinListHideIcons, NULL}, | |
98 | {"SuppressIcons", SetFlag2, (char**)SuppressIcons, NULL}, | |
99 | + {"WarpPointer", SetFlag2, (char**)WarpPointer, NULL}, | |
100 | ||
101 | /* look options */ | |
102 | /* obsolete stuff */ | |
103 | Index: src/afterstep/pager.c | |
104 | =================================================================== | |
105 | RCS file: /home/cvsroot/afterstep-stable/src/afterstep/pager.c,v | |
106 | retrieving revision 1.91 | |
107 | retrieving revision 1.92 | |
108 | diff -u -r1.91 -r1.92 | |
109 | --- src/afterstep/pager.c 30 Jun 2008 18:02:09 -0000 1.91 | |
110 | +++ src/afterstep/pager.c 30 Sep 2009 15:12:04 -0000 1.92 | |
111 | @@ -185,7 +185,7 @@ | |
112 | if (xroot_curr == xroot_orig && yroot_curr == yroot_orig) | |
113 | #endif | |
114 | /* only want to warp pointer while move-resizing, to keep size from jumping screenwhole */ | |
115 | - if (Scr.moveresize_in_progress) | |
116 | + if (Scr.moveresize_in_progress || get_flags( Scr.Feel.flags, WarpPointer)) | |
117 | XWarpPointer (dpy, None, Scr.Root, 0, 0, 0, 0, *xl, *yt); | |
118 | ||
119 | MoveViewport (Scr.Vx + *delta_x, Scr.Vy + *delta_y, False); |