togglefloat should only work in dotile mode (thanks to Sander for this hint)

keyboard
arg@mig29 18 years ago
parent 0a915eba8f
commit 3aff96177c
  1. 2
      view.c

@ -202,7 +202,7 @@ restack(void) {
void
togglefloat(Arg *arg) {
if (!sel)
if (!sel || arrange == dofloat)
return;
sel->isfloat = !sel->isfloat;
arrange();

Loading…
Cancel
Save