about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-04-19 08:53:40 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-04-19 08:53:40 +0200
commitad2508f9578195e703033df3cceb441f716261bd (patch)
tree75d4a8b666152fef593941bd8b36adc8b80bfa6e /client.c
parentb0785998338eb49879da93ceca635ef5030a0cab (diff)
downloaddwm-ad2508f9578195e703033df3cceb441f716261bd.tar.gz
touch border
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index e9ea4c7..e267b63 100644
--- a/client.c
+++ b/client.c
@@ -203,7 +203,7 @@ manage(Window w, XWindowAttributes *wa) {
 	XSelectInput(dpy, w,
 		StructureNotifyMask | PropertyChangeMask | EnterWindowMask);
 	grabbuttons(c, False);
-	c->border = wc.border_width = BORDERPX;
+	c->border = wc.border_width = (c->w == sw && c->h == sh) ? wa->border_width : BORDERPX;
 	XConfigureWindow(dpy, w, CWBorderWidth, &wc);
 	XSetWindowBorder(dpy, w, dc.norm[ColBorder]);
 	configure(c); /* propagates border_width, if size doesn't change */
0 Move JS wrapper into Monoucha' href='/ahoang/chawan/commit/src/utils/regexutils.nim?id=3aa8f1e0694d1606c3f3795f8b83e8a82caacd3e'>3aa8f1e0 ^
88a43edc ^
3aa8f1e0 ^


88a43edc ^





3aa8f1e0 ^







88a43edc ^

3aa8f1e0 ^

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