aboutsummaryrefslogtreecommitdiff
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
parent0a915eba8fedeaf6ab5c3a1808962f5467aa8c5e (diff)
downloaddwm-3aff96177cff61b61509540eb02cc38c4a59eb1e.tar
dwm-3aff96177cff61b61509540eb02cc38c4a59eb1e.tar.gz
dwm-3aff96177cff61b61509540eb02cc38c4a59eb1e.tar.bz2
togglefloat should only work in dotile mode (thanks to Sander for this hint)
-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();