1 From: Tomoyasu Kihara ( habu@kmc.gr.jp )
3 This patch is improvement of keyboard operation.
5 - reisze/move a window diagonally. (This is very suitable for Roguelike Gamer ;))
6 - decide window place/size by not only enter key but space key.
8 ---8<---cut here------8<---cut here------8<---cut here---
9 diff -ur WindowMaker-0.70.0/src/moveres.c WindowMaker-0.70.0-yubn/src/moveres.c
10 --- WindowMaker-0.70.0/src/moveres.c Tue Jul 24 18:51:06 2001
11 +++ WindowMaker-0.70.0-yubn/src/moveres.c Wed Dec 19 03:20:53 2001
13 keysym = XLookupKeysym(&event.xkey, 0);
20 @@ -1380,6 +1381,50 @@
27 + if (moment != (UP|LEFT))
29 + h -= kspeed, w -= kspeed;
35 + off_x -= kspeed, off_y -= kspeed;
39 + if (moment != (UP|RIGHT))
41 + h -= kspeed, w += kspeed;
46 + off_x += kspeed, off_y -= kspeed;
50 + if (moment != (DOWN|LEFT))
52 + h += kspeed, w -= kspeed;
57 + off_x -= kspeed, off_y += kspeed;
61 + if (moment != (DOWN|RIGHT))
63 + h += kspeed, w += kspeed;
64 + moment = DOWN|RIGHT;
67 + off_x += kspeed, off_y += kspeed;