Immediately toggle client floating mode on mouse resize in floating layout
This commit is contained in:
parent
3c5ceda88c
commit
497a2bf33a
3
dwm.c
3
dwm.c
|
@ -1584,7 +1584,8 @@ resizemouse(const Arg *arg)
|
|||
c->mon->wy + nh <= selmon->wy + selmon->wh)
|
||||
{
|
||||
if (!c->isfloating &&
|
||||
(abs(nw - c->w) > snap_distance ||
|
||||
(selmon->lt[selmon->sellt]->arrange == NULL ||
|
||||
abs(nw - c->w) > snap_distance ||
|
||||
abs(nh - c->h) > snap_distance))
|
||||
{
|
||||
togglefloating(NULL);
|
||||
|
|
Loading…
Reference in New Issue