Browse Source

applied Sanders patch

main
Anselm R. Garbe 17 years ago
parent
commit
492c6f10fc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      client.c

+ 2
- 2
client.c View File

@ -305,8 +305,8 @@ togglefloating(const char *arg) {
if(!sel || lt->arrange == floating) if(!sel || lt->arrange == floating)
return; return;
sel->isfloating = !sel->isfloating; sel->isfloating = !sel->isfloating;
if(sel->isfloating && sel->isfixed)
resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
if(sel->isfloating)
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
lt->arrange(); lt->arrange();
} }


Loading…
Cancel
Save