Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
prevent pop() if first sel == nexttiled(clients)
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
ffa22a1
..
503f1c2
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-261,7
+261,7
@@
zoom(Arg *arg) {
n++;
c = sel;
- if(
arrange != dofloat
) {
+ if(
(arrange != dofloat) && c != nexttiled(clients)
) {
detach(c);
if(clients)
clients->prev = c;