mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 10:43:40 +01:00
Fix missing breaks in swallowing switch
Swallow is still broken as windows will be captured by any other node for some reason
This commit is contained in:
parent
f796977543
commit
352419bb9f
1 changed files with 3 additions and 3 deletions
|
@ -1169,9 +1169,9 @@ void Hy3Layout::setNodeSwallow(int workspace, SetSwallowOption option) {
|
|||
|
||||
auto* containment = &node->parent->data.as_group.containment;
|
||||
switch (option) {
|
||||
case SetSwallowOption::NoSwallow: *containment = false;
|
||||
case SetSwallowOption::Swallow: *containment = true;
|
||||
case SetSwallowOption::Toggle: *containment = !*containment;
|
||||
case SetSwallowOption::NoSwallow: *containment = false; break;
|
||||
case SetSwallowOption::Swallow: *containment = true; break;
|
||||
case SetSwallowOption::Toggle: *containment = !*containment; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue