opt: remove increase_proportion dispatch

should use resizewin to replace it
This commit is contained in:
DreamMaoMao
2025-11-08 22:47:18 +08:00
parent 64dc30dc31
commit 5ba7da0570
3 changed files with 0 additions and 16 deletions

View File

@@ -281,18 +281,6 @@ int incovgaps(const Arg *arg) {
return 0;
}
int increase_proportion(const Arg *arg) {
if (selmon->sel) {
unsigned int max_client_width =
selmon->w.width - 2 * scroller_structs - gappih;
selmon->sel->scroller_proportion =
MIN(MAX(arg->f + selmon->sel->scroller_proportion, 0.1), 1.0);
selmon->sel->geom.width = max_client_width * arg->f;
arrange(selmon, false);
}
return 0;
}
int setmfact(const Arg *arg) {
float f;
Client *c = NULL;