opt: optimize minimize logic

This commit is contained in:
DreamMaoMao 2025-09-07 14:52:30 +08:00
parent 74b887011d
commit 394e32dabd
2 changed files with 27 additions and 2 deletions

View file

@ -389,6 +389,7 @@ void resizewin(const Arg *arg) {
c->oldgeom = c->geom;
resize(c, c->geom, 0);
}
void restore_minimized(const Arg *arg) {
Client *c;
if (selmon && selmon->sel && selmon->sel->is_in_scratchpad &&