From: arg@mig29 Date: Tue, 28 Nov 2006 16:35:31 +0000 (+0100) Subject: togglefloat should only work in dotile mode (thanks to Sander for this hint) X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=3aff96177cff61b61509540eb02cc38c4a59eb1e togglefloat should only work in dotile mode (thanks to Sander for this hint) --- 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();