aewl
diff dwm.h @ 99:a19556fe83b5
applied Sanders resize patch, fixed lower bug
author | arg@10ksloc.org |
---|---|
date | Wed, 19 Jul 2006 11:31:04 +0200 |
parents | 5d88952cbf96 |
children | 3e74cc981e9b |
line diff
1.1 --- a/dwm.h Tue Jul 18 17:54:55 2006 +0200 1.2 +++ b/dwm.h Wed Jul 19 11:31:04 2006 +0200 1.3 @@ -25,6 +25,7 @@ 1.4 /********** CUSTOMIZE **********/ 1.5 1.6 typedef union Arg Arg; 1.7 +typedef enum Corner Corner; 1.8 typedef struct DC DC; 1.9 typedef struct Client Client; 1.10 typedef struct Fnt Fnt; 1.11 @@ -43,6 +44,8 @@ 1.12 /* cursor */ 1.13 enum { CurNormal, CurResize, CurMove, CurLast }; 1.14 1.15 +enum Corner { TopLeft, TopRight, BottomLeft, BottomRight }; 1.16 + 1.17 struct Fnt { 1.18 int ascent; 1.19 int descent; 1.20 @@ -121,7 +124,7 @@ 1.21 extern void manage(Window w, XWindowAttributes *wa); 1.22 extern void maximize(Arg *arg); 1.23 extern void pop(Client *c); 1.24 -extern void resize(Client *c, Bool inc); 1.25 +extern void resize(Client *c, Bool inc, Corner sticky); 1.26 extern void setgeom(Client *c); 1.27 extern void setsize(Client *c); 1.28 extern void settitle(Client *c);