about summary refs log tree commit diff stats
path: root/wm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 22:49:09 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 22:49:09 +0200
commita05beb6585713aeb661cf30c080e77fbfdb28867 (patch)
tree39ce730b165187a50026db1834bd7b2f6f010ec8 /wm.h
parent48b6e9a3968e54a87f022c8e68b5bec5423cb75f (diff)
downloaddwm-a05beb6585713aeb661cf30c080e77fbfdb28867.tar.gz
made code more readable
Diffstat (limited to 'wm.h')
-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 };
 /* cursor */
 enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
 
-/* rects */
-enum { RFloat, RGrid, RLast };
-
 struct Client {
-	char name[256];
-	char tag[256];
+	char name[256], tag[256];
 	int proto;
-	Bool fixedsize;
+	int x, y, w, h;
+	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
+	long flags; 
 	Window win;
 	Window trans;
 	Window title;
-	XSizeHints size;
-	XRectangle r[RLast];
 	Client *next;
 	Client *snext;
 };
@@ -75,6 +71,7 @@ extern void focus(Client *c);
 extern void update_name(Client *c);
 extern void draw_client(Client *c);
 extern void resize(Client *c);
+extern void update_size(Client *c);
 
 /* event.c */
 extern unsigned int discard_events(long even_mask);
rg@mig29 <unknown> 2006-12-07 14:39:31 +0100 found compromise for fonts' href='/acidbong/suckless/dwm/commit/config.arg.h?h=master&id=a3319c6f8e82522ce118b9a62124548d6f9cba09'>a3319c6 ^
0045ad8 ^
58beead ^

04a2b74 ^
1d63030 ^
58beead ^
b55bd70 ^
19390b1 ^
97ced11 ^
c2b753d ^
19390b1 ^
a73a882 ^
b38905b ^
a73a882 ^
3059c9c ^
19dcbc5 ^
58beead ^
19dcbc5 ^
b60406c ^
9e4e4d9 ^

19dcbc5 ^




3059c9c ^

42fd392 ^
19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^


42fd392 ^
19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^
a73a882 ^



d6a6eca ^
e1811c3 ^
a08d83b ^


a73a882 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93