Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
0a915eb
)
togglefloat should only work in dotile mode (thanks to Sander for this hint)
author
arg@mig29 <unknown>
Tue, 28 Nov 2006 16:35:31 +0000
(17:35 +0100)
committer
arg@mig29 <unknown>
Tue, 28 Nov 2006 16:35:31 +0000
(17:35 +0100)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index
167a1c4
..
c11e349
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-202,7
+202,7
@@
restack(void) {
void
togglefloat(Arg *arg) {
void
togglefloat(Arg *arg) {
- if (!sel)
+ if (!sel
|| arrange == dofloat
)
return;
sel->isfloat = !sel->isfloat;
arrange();
return;
sel->isfloat = !sel->isfloat;
arrange();