From 3aff96177cff61b61509540eb02cc38c4a59eb1e Mon Sep 17 00:00:00 2001 From: "arg@mig29" Date: Tue, 28 Nov 2006 17:35:31 +0100 Subject: togglefloat should only work in dotile mode (thanks to Sander for this hint) --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit 1.4.1-2-gfad0