mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-20 06:59:50 -05:00
feat: make ~0 tag own independent layout
This commit is contained in:
parent
4a8568639f
commit
31ac4bd6ed
5 changed files with 15 additions and 42 deletions
|
|
@ -30,13 +30,6 @@ enum corner_location set_client_corner_location(Client *c) {
|
|||
|
||||
bool is_horizontal_stack_layout(Monitor *m) {
|
||||
|
||||
if (!m->pertag->curtag &&
|
||||
(strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name, "tile") == 0 ||
|
||||
strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name, "spiral") == 0 ||
|
||||
strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name, "dwindle") == 0 ||
|
||||
strcmp(m->pertag->ltidxs[m->pertag->prevtag]->name, "deck") == 0))
|
||||
return true;
|
||||
|
||||
if (m->pertag->curtag &&
|
||||
(strcmp(m->pertag->ltidxs[m->pertag->curtag]->name, "tile") == 0 ||
|
||||
strcmp(m->pertag->ltidxs[m->pertag->curtag]->name, "spiral") == 0 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue