feat: add global option scroller_ignore_proportion_single
This commit is contained in:
@@ -231,7 +231,7 @@ void scroller(Monitor *m) {
|
||||
}
|
||||
}
|
||||
|
||||
if (n == 1) {
|
||||
if (n == 1 && !scroller_ignore_proportion_single) {
|
||||
c = tempClients[0];
|
||||
target_geom.height = m->w.height - 2 * cur_gappov;
|
||||
target_geom.width =
|
||||
@@ -274,6 +274,10 @@ void scroller(Monitor *m) {
|
||||
}
|
||||
}
|
||||
|
||||
if (n == 1 && scroller_ignore_proportion_single) {
|
||||
need_scroller = true;
|
||||
}
|
||||
|
||||
if (start_drag_window)
|
||||
need_scroller = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user