applied anydots proposal to let togglefloating restore fixed windows

new_dwm
Anselm R. Garbe 18 years ago
parent f3e672efd8
commit caa7ab5362

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

Loading…
Cancel
Save