mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
tree/container: drop unnecessary check in container_get_siblings()
The check for container->pending.workspace already covers this. References: https://github.com/swaywm/sway/pull/7315#issuecomment-1341716204
This commit is contained in:
parent
1ade0ce753
commit
3c04e7953f
1 changed files with 0 additions and 3 deletions
|
|
@ -1407,9 +1407,6 @@ list_t *container_get_siblings(struct sway_container *container) {
|
|||
if (container->pending.parent) {
|
||||
return container->pending.parent->pending.children;
|
||||
}
|
||||
if (container_is_scratchpad_hidden(container)) {
|
||||
return NULL;
|
||||
}
|
||||
if (!container->pending.workspace) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue