refactor: cleanup unnecessary changes

This commit is contained in:
atheeq-rhxn 2026-01-17 01:06:11 +05:30
parent c0abfaefc8
commit 7545a705a3
9 changed files with 365 additions and 129 deletions

View file

@ -68,10 +68,9 @@ int32_t toggle_trackpad_enable(const Arg *arg);
int32_t setoption(const Arg *arg);
int32_t disable_monitor(const Arg *arg);
int32_t enable_monitor(const Arg *arg);
int32_t toggle_monitor(const Arg *arg);
int32_t expand_client_left(const Arg *arg);
int32_t collapse_client_right(const Arg *arg);
int32_t stack_with_left(const Arg *arg);
int32_t unstack(const Arg *arg);
int32_t revert_size(const Arg *arg);
int32_t toggle_monitor(const Arg *arg);

View file

@ -252,8 +252,7 @@ void scroller(Monitor *m) {
int32_t cur_gappih = enablegaps ? m->gappih : 0;
int32_t cur_gappoh = enablegaps ? m->gappoh : 0;
int32_t cur_gappov = enablegaps ? m->gappov : 0;
int32_t cur_gappiv = enablegaps ? m->gappiv : 0;
int32_t cur_gappiv = enablegaps ? m->gappiv : 0;
cur_gappih =
smartgaps && m->visible_scroll_tiling_clients == 1 ? 0 : cur_gappih;
@ -890,4 +889,4 @@ void tgmix(Monitor *m) {
grid(m);
return;
}
}
}