about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--view.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/view.c b/view.c
index ac8e7a3..a3b2029 100644
--- a/view.c
+++ b/view.c
@@ -294,11 +294,18 @@ restack(void) {
 		XRaiseWindow(dpy, sel->win);
 		XRaiseWindow(dpy, sel->twin);
 	}
-	if(arrange != dofloat)
+	if(arrange != dofloat) {
+		if(!sel->isfloat) {
+			XLowerWindow(dpy, sel->twin);
+			XLowerWindow(dpy, sel->win);
+		}
 		for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
+			if(c == sel)
+				continue;
 			XLowerWindow(dpy, c->twin);
 			XLowerWindow(dpy, c->win);
 		}
+	}
 	drawall();
 	XSync(dpy, False);
 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
gt; 2019-12-19 16:46:34 -0500 committer Ben Morrison <ben@gbmor.dev> 2019-12-19 16:46:34 -0500 decoupled tests from personal twtxt.txt' href='/gbmor/getwtxt/commit/svc/post_test.go?h=v0.4.9&id=7db28dd705dd5463b5e2e9cf6f5fc87db25533ad'>7db28dd ^
a6c8162 ^























6f93835 ^
37142b5 ^
a6c8162 ^






6f93835 ^
a6c8162 ^




a6c8162 ^
6f93835 ^
a6c8162 ^












b957093 ^


37142b5 ^
b957093 ^

7db28dd ^
b957093 ^








37142b5 ^
b957093 ^


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
104
105
106
107
108
109
110
111
112
113
114
115
116