mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-15 21:44:45 -04:00
break change: remove tgmix layout
This commit is contained in:
parent
d132f955c4
commit
4981b07a58
7 changed files with 6 additions and 30 deletions
|
|
@ -558,7 +558,7 @@ bool client_is_in_same_stack(Client *sc, Client *tc, Client *fc) {
|
|||
|
||||
if (id != SCROLLER && id != VERTICAL_SCROLLER && id != TILE &&
|
||||
id != VERTICAL_TILE && id != DECK && id != VERTICAL_DECK &&
|
||||
id != CENTER_TILE && id != RIGHT_TILE && id != TGMIX)
|
||||
id != CENTER_TILE && id != RIGHT_TILE)
|
||||
return false;
|
||||
|
||||
if (id == SCROLLER || id == VERTICAL_SCROLLER) {
|
||||
|
|
@ -583,15 +583,6 @@ bool client_is_in_same_stack(Client *sc, Client *tc, Client *fc) {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (id == TGMIX) {
|
||||
if (tc->ismaster ^ sc->ismaster)
|
||||
return false;
|
||||
if (fc && !(fc->ismaster ^ sc->ismaster))
|
||||
return false;
|
||||
if (!sc->ismaster && sc->mon->visible_tiling_clients <= 3)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (id == CENTER_TILE) {
|
||||
if (tc->ismaster ^ sc->ismaster)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue