about summary refs log tree commit diff stats
path: root/wm.h
diff options
context:
space:
mode:
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);
href='/akkartik/mu/blame/subx.vim?h=main&id=94a60e2b1bb273f5c98fc3b71ebb1de4f0086525'>^
03d50cc8 ^
3fb900de ^



c56d803c ^
d1262cd6 ^
2c6a077f ^
3fb900de ^
2c6a077f ^
1837c616 ^
a0db7903 ^
c2532c2d ^
76aace46 ^
e59a91b7 ^
39d718af ^

a8f47b4a ^
c6f52200 ^


e59a91b7 ^
39d718af ^
3fb900de ^
50a6c048 ^
3fb900de ^
39d718af ^
3fb900de ^
39d718af ^
cbe5bec6 ^
39d718af ^
9272b6ce ^

521ff2f1 ^
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