about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 14cf3f9..dc14bfd 100644
--- a/dwm.c
+++ b/dwm.c
@@ -865,7 +865,7 @@ killclient(const Arg *arg) {
 void
 manage(Window w, XWindowAttributes *wa) {
 	Client *c, *t = NULL;
-	Window trans = 0;
+	Window trans = None;
 	XWindowChanges wc;
 
 	if(!(c = calloc(1, sizeof(Client))))
@@ -909,7 +909,7 @@ manage(Window w, XWindowAttributes *wa) {
 	else
 		applyrules(c);
 	if(!c->isfloating)
-		c->isfloating = trans || c->isfixed;
+		c->isfloating = trans != None || c->isfixed;
 	if(c->isfloating)
 		XRaiseWindow(dpy, c->win);
 	attach(c);
com> 2019-07-27 16:01:55 -0700 committer Kartik Agaram <vc@akkartik.com> 2019-07-27 17:47:59 -0700 5485 - promote SubX to top-level' href='/akkartik/mu/commit/test_layers?h=hlt&id=6e1eeeebfb453fa7c871869c19375ce60fbd7413'>6e1eeeeb ^
1baa04db ^
ecc31a49 ^
6e1eeeeb ^
1baa04db ^

6e1eeeeb ^
d9ee2076 ^
f902aa09 ^
4ba60f35 ^
ecc31a49 ^
4cc52b14 ^
6e1eeeeb ^
ecc31a49 ^
9e5e87ca ^

6e1eeeeb ^


fd91f7f6 ^
6e1eeeeb ^


ecc31a49 ^




























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