diff options
Diffstat (limited to '')
| -rw-r--r-- | wm.h | 13 |
1 files changed, 5 insertions, 8 deletions
| @@ -21,19 +21,15 @@ enum { NetSupported, NetWMName, NetLast }; | |||
| 21 | /* cursor */ | 21 | /* cursor */ |
| 22 | enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; | 22 | enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; |
| 23 | 23 | ||
| 24 | /* rects */ | ||
| 25 | enum { RFloat, RGrid, RLast }; | ||
| 26 | |||
| 27 | struct Client { | 24 | struct Client { |
| 28 | char name[256]; | 25 | char name[256], tag[256]; |
| 29 | char tag[256]; | ||
| 30 | int proto; | 26 | int proto; |
| 31 | Bool fixedsize; | 27 | int x, y, w, h; |
| 28 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; | ||
| 29 | long flags; | ||
| 32 | Window win; | 30 | Window win; |
| 33 | Window trans; | 31 | Window trans; |
| 34 | Window title; | 32 | Window title; |
| 35 | XSizeHints size; | ||
| 36 | XRectangle r[RLast]; | ||
| 37 | Client *next; | 33 | Client *next; |
| 38 | Client *snext; | 34 | Client *snext; |
| 39 | }; | 35 | }; |
| @@ -75,6 +71,7 @@ extern void focus(Client *c); | |||
| 75 | extern void update_name(Client *c); | 71 | extern void update_name(Client *c); |
| 76 | extern void draw_client(Client *c); | 72 | extern void draw_client(Client *c); |
| 77 | extern void resize(Client *c); | 73 | extern void resize(Client *c); |
| 74 | extern void update_size(Client *c); | ||
| 78 | 75 | ||
| 79 | /* event.c */ | 76 | /* event.c */ |
| 80 | extern unsigned int discard_events(long even_mask); | 77 | extern unsigned int discard_events(long even_mask); |
