about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:17:15 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:17:15 +0200
commit2e836ecce1ba0629a6088b739c1092d27fccd72b (patch)
tree3761067105ab4cd3d2d2843fda154090a20c98be /event.c
parent6db5ffb6c9a9c0db5c425c64a96a3896a682c95e (diff)
downloaddwm-2e836ecce1ba0629a6088b739c1092d27fccd72b.tar.gz
added gravity stuff
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/event.c b/event.c
index 1db3d96..93007df 100644
--- a/event.c
+++ b/event.c
@@ -77,6 +77,7 @@ configurerequest(XEvent *e)
 
 	ev->value_mask &= ~CWSibling;
 	if((c = getclient(ev->window))) {
+		gravitate(c, True);
 		if(ev->value_mask & CWX)
 			c->x = ev->x;
 		if(ev->value_mask & CWY)
@@ -85,6 +86,9 @@ configurerequest(XEvent *e)
 			c->w = ev->width;
 		if(ev->value_mask & CWHeight)
 			c->h = ev->height;
+		if(ev->value_mask & CWBorderWidth)
+			c->border = ev->border_width;
+		gravitate(c, False);
 	}
 
 	wc.x = ev->x;
ef='/acidbong/suckless/dwm/blame/util.c?h=5.8.2&id=8a34fa50f75f4d6d8af234ac0c4f6d40b988d700'>^
39677ec ^





439e15d ^

d7e1708 ^
439e15d ^
586f663 ^
439e15d ^




16c67f3 ^
586f663 ^
650a1fb ^
439e15d ^





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
94