mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05: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 new_scroller_proportion;
|
||||
|
||||
if (grabc && grabc->mon->visible_tiling_clients == 1 &&
|
||||
!scroller_ignore_proportion_single)
|
||||
return;
|
||||
|
||||
if (!start_drag_window && isdrag) {
|
||||
drag_begin_cursorx = cursor->x;
|
||||
drag_begin_cursory = cursor->y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue