dwm-meillo
diff wm.h @ 20:4560e0882c1d
made code more readable
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 22:49:09 +0200 |
parents | b5510d0c6d43 |
children | bd3a44353916 |
line diff
1.1 --- a/wm.h Tue Jul 11 21:41:49 2006 +0200 1.2 +++ b/wm.h Tue Jul 11 22:49:09 2006 +0200 1.3 @@ -21,19 +21,15 @@ 1.4 /* cursor */ 1.5 enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; 1.6 1.7 -/* rects */ 1.8 -enum { RFloat, RGrid, RLast }; 1.9 - 1.10 struct Client { 1.11 - char name[256]; 1.12 - char tag[256]; 1.13 + char name[256], tag[256]; 1.14 int proto; 1.15 - Bool fixedsize; 1.16 + int x, y, w, h; 1.17 + int basew, baseh, incw, inch, maxw, maxh, minw, minh; 1.18 + long flags; 1.19 Window win; 1.20 Window trans; 1.21 Window title; 1.22 - XSizeHints size; 1.23 - XRectangle r[RLast]; 1.24 Client *next; 1.25 Client *snext; 1.26 }; 1.27 @@ -75,6 +71,7 @@ 1.28 extern void update_name(Client *c); 1.29 extern void draw_client(Client *c); 1.30 extern void resize(Client *c); 1.31 +extern void update_size(Client *c); 1.32 1.33 /* event.c */ 1.34 extern unsigned int discard_events(long even_mask);