|
|
@ -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)
|
|
|
|
if(sel->isfloating)
|
|
|
|
resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
|
|
|
|
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
|
|
|
|
lt->arrange();
|
|
|
|
lt->arrange();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|