mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-08 13:29:56 -05:00
fix: scroller not work in ~0 tag
This commit is contained in:
parent
461f022f40
commit
9ee2055f55
2 changed files with 16 additions and 5 deletions
|
|
@ -16,6 +16,16 @@ Monitor *dirtomon(enum wlr_direction dir) {
|
|||
}
|
||||
|
||||
bool is_scroller_layout(Monitor *m) {
|
||||
|
||||
if (!m->pertag->curtag &&
|
||||
strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name, "scroller") == 0)
|
||||
return true;
|
||||
|
||||
if (!m->pertag->curtag &&
|
||||
strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name,
|
||||
"vertical_scroller") == 0)
|
||||
return true;
|
||||
|
||||
if (strcmp(m->pertag->ltidxs[m->pertag->curtag]->name, "scroller") == 0)
|
||||
return true;
|
||||
if (strcmp(m->pertag->ltidxs[m->pertag->curtag]->name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue