Mercurial > dwm-meillo
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:b5510d0c6d43 | 20:4560e0882c1d |
---|---|
19 enum { NetSupported, NetWMName, NetLast }; | 19 enum { NetSupported, NetWMName, NetLast }; |
20 | 20 |
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 }; |
40 | 36 |
41 struct Key { | 37 struct Key { |
73 extern Client *getclient(Window w); | 69 extern Client *getclient(Window w); |
74 extern void focus(Client *c); | 70 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); |
81 | 78 |
82 /* key.c */ | 79 /* key.c */ |