dwm-meillo
diff dwm.h @ 95:5d88952cbf96
implemened distinguishing float/managed geometries of clients (works quite well)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 18 Jul 2006 12:36:57 +0200 |
parents | 6efe82c775c9 |
children | a19556fe83b5 |
line diff
1.1 --- a/dwm.h Tue Jul 18 11:45:32 2006 +0200 1.2 +++ b/dwm.h Tue Jul 18 12:36:57 2006 +0200 1.3 @@ -65,8 +65,10 @@ 1.4 char name[256]; 1.5 char *tags[TLast]; 1.6 int proto; 1.7 - int x, y, w, h; 1.8 - int tx, ty, tw, th; 1.9 + int *x, *y, *w, *h; /* current geom */ 1.10 + int bx, by, bw, bh; /* title bar */ 1.11 + int fx, fy, fw, fh; /* floating geom */ 1.12 + int tx, ty, tw, th; /* tiled geom */ 1.13 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 1.14 int grav; 1.15 unsigned int border; 1.16 @@ -120,6 +122,7 @@ 1.17 extern void maximize(Arg *arg); 1.18 extern void pop(Client *c); 1.19 extern void resize(Client *c, Bool inc); 1.20 +extern void setgeom(Client *c); 1.21 extern void setsize(Client *c); 1.22 extern void settitle(Client *c); 1.23 extern void unmanage(Client *c);