mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-04 06:46:38 -04:00
fix overlapping tiles
This commit is contained in:
parent
9db45cbb52
commit
5089995cfa
2 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ bool is_scroller_layout(Monitor *m) {
|
||||||
if (m->pertag->ltidxs[m->pertag->curtag]->id == VERTICAL_SCROLLER)
|
if (m->pertag->ltidxs[m->pertag->curtag]->id == VERTICAL_SCROLLER)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (m->pertag->ltidxs[m->pertag->curtag]->id == DUAL_SCROLLER)
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -498,6 +498,8 @@ void resize_tile_client(Client *grabc, bool isdrag, int offsetx, int offsety,
|
||||||
resize_tile_scroller(grabc, isdrag, offsetx, offsety, time, false);
|
resize_tile_scroller(grabc, isdrag, offsetx, offsety, time, false);
|
||||||
} else if (current_layout->id == VERTICAL_SCROLLER) {
|
} else if (current_layout->id == VERTICAL_SCROLLER) {
|
||||||
resize_tile_scroller(grabc, isdrag, offsetx, offsety, time, true);
|
resize_tile_scroller(grabc, isdrag, offsetx, offsety, time, true);
|
||||||
|
} else if (current_layout->id == DUAL_SCROLLER) {
|
||||||
|
resize_tile_scroller(grabc, isdrag, offsetx, offsety, time, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue