remove patch

This commit is contained in:
2026-02-11 07:47:55 -05:00
parent e9bfa75ad2
commit 7ba87ec6d0
3 changed files with 4 additions and 35 deletions

View File

@@ -1732,6 +1732,10 @@ togglefloating(const Arg *arg)
if (selmon->sel->isfloating)
resize(selmon->sel, selmon->sel->x, selmon->sel->y,
selmon->sel->w, selmon->sel->h, 0);
selmon->sel->x = selmon->sel->mon->mx + (selmon->sel->mon->mw - WIDTH(selmon->sel)) / 2;
selmon->sel->y = selmon->sel->mon->my + (selmon->sel->mon->mh - HEIGHT(selmon->sel)) / 2;
arrange(selmon);
}