mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-24 09:06:31 -04:00
opt: disable resize scroller window when it force to default single size
This commit is contained in:
parent
e59b9c10b5
commit
8ac331aa64
1 changed files with 4 additions and 0 deletions
|
|
@ -374,6 +374,10 @@ void resize_tile_scroller(Client *grabc, bool isdrag, int offsetx, int offsety,
|
||||||
float delta_x, delta_y;
|
float delta_x, delta_y;
|
||||||
float new_scroller_proportion;
|
float new_scroller_proportion;
|
||||||
|
|
||||||
|
if (grabc && grabc->mon->visible_tiling_clients == 1 &&
|
||||||
|
!scroller_ignore_proportion_single)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!start_drag_window && isdrag) {
|
if (!start_drag_window && isdrag) {
|
||||||
drag_begin_cursorx = cursor->x;
|
drag_begin_cursorx = cursor->x;
|
||||||
drag_begin_cursory = cursor->y;
|
drag_begin_cursory = cursor->y;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue