commit 3aff96177cff61b61509540eb02cc38c4a59eb1e
parent 0a915eba8fedeaf6ab5c3a1808962f5467aa8c5e
Author: arg@mig29 <unknown>
Date: Tue, 28 Nov 2006 17:35:31 +0100
togglefloat should only work in dotile mode (thanks to Sander for this hint)
Diffstat:
| M | view.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --dropbox 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();