Browse Source

applied anydots proposal to let togglefloating restore fixed windows

master
Anselm R. Garbe 18 years ago
parent
commit
caa7ab5362
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      client.c

+ 2
- 0
client.c View File

@ -305,6 +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);
lt->arrange(); lt->arrange();
} }


Loading…
Cancel
Save