From 9e15e2fd4f2ab9c49e123daada662cd5e6098b81 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 19 Dec 2022 10:30:21 +0100 Subject: 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 --- sway/tree/container.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sway/tree/container.c b/sway/tree/container.c index b86a9925..c60c8f8f 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -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; } -- cgit v1.2.3