togglefloat should only work in dotile mode (thanks to Sander for this hint) - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 3aff96177cff61b61509540eb02cc38c4a59eb1e (DIR) parent 0a915eba8fedeaf6ab5c3a1808962f5467aa8c5e (HTM) 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(-) --- (DIR) diff --git 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();