mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53: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;
|
auto* containment = &node->parent->data.as_group.containment;
|
||||||
switch (option) {
|
switch (option) {
|
||||||
case SetSwallowOption::NoSwallow: *containment = false;
|
case SetSwallowOption::NoSwallow: *containment = false; break;
|
||||||
case SetSwallowOption::Swallow: *containment = true;
|
case SetSwallowOption::Swallow: *containment = true; break;
|
||||||
case SetSwallowOption::Toggle: *containment = !*containment;
|
case SetSwallowOption::Toggle: *containment = !*containment; break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue