aboutsummaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-28 17:35:31 +0100
committerarg@mig29 <unknown>2006-11-28 17:35:31 +0100
commit3aff96177cff61b61509540eb02cc38c4a59eb1e (patch)
tree7504a8f2fa39921317ffebc30f95cda7be863cc5 /view.c
parent0a915eba8fedeaf6ab5c3a1808962f5467aa8c5e (diff)
downloaddwm-3aff96177cff61b61509540eb02cc38c4a59eb1e.tar.gz
togglefloat should only work in dotile mode (thanks to Sander for this hint)
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 167a1c4..c11e349 100644
--- a/view.c
+++ b/view.c
@@ -202,7 +202,7 @@ restack(void) {
void
togglefloat(Arg *arg) {
- if (!sel)
+ if (!sel || arrange == dofloat)
return;
sel->isfloat = !sel->isfloat;
arrange();