summaryrefslogtreecommitdiffstats
path: root/wm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wm.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/wm.h b/wm.h
index b647a3e..a24b40d 100644
--- a/wm.h
+++ b/wm.h
@@ -21,19 +21,15 @@ enum { NetSupported, NetWMName, NetLast };
21/* cursor */ 21/* cursor */
22enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; 22enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
23 23
24/* rects */
25enum { RFloat, RGrid, RLast };
26
27struct Client { 24struct 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);
75extern void update_name(Client *c); 71extern void update_name(Client *c);
76extern void draw_client(Client *c); 72extern void draw_client(Client *c);
77extern void resize(Client *c); 73extern void resize(Client *c);
74extern void update_size(Client *c);
78 75
79/* event.c */ 76/* event.c */
80extern unsigned int discard_events(long even_mask); 77extern unsigned int discard_events(long even_mask);