about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:02:13 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-04 17:02:13 +0200
commite316cf53f618dd1dd82828ca5c4e566968473f3a (patch)
tree5af5f99d7773f199da906d0cf38d9efee57e021e
parentc107db57db9529c699e6aa5fc1c31a37be06f94e (diff)
downloaddwm-e316cf53f618dd1dd82828ca5c4e566968473f3a.tar.gz
fixing the issue that new clients appear lowered
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 8a8a99e..81f4280 100644
--- a/client.c
+++ b/client.c
@@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa)
 	clients = c;
 
 	settitle(c);
+	if(isvisible(c))
+		sel = c;
 	arrange(NULL);
 	XMapWindow(dpy, c->win);
 	XMapWindow(dpy, c->twin);
amp;id=fff320285cfd4844547afac4056b788b2db3a2ee'>^
e9e4b4ff ^







94c5d83e ^







76f8d548 ^



94c5d83e ^


423ce88a ^

94c5d83e ^








e9e4b4ff ^

50a0cb1c ^
e9e4b4ff ^

50a0cb1c ^
e9e4b4ff ^
2c5ea01d ^
e9e4b4ff ^


2c5ea01d ^
e9e4b4ff ^




e9e4b4ff ^

2c5ea01d ^
e9e4b4ff ^
0c2c782d ^

6ac4be61 ^
ea775b1c ^








6ac4be61 ^
ea775b1c ^

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
95
96
97
98
99
100
101
102
103