fix: crash when moving to scratchpad tiled window (#202)
This commit is contained in:
parent
c2b01d74a4
commit
7b7f060552
|
@ -1399,6 +1399,10 @@ static void render_containers_linear(struct sway_output *output,
|
|||
for (int i = 0; i < parent->children->length; ++i) {
|
||||
struct sway_container *child = parent->children->items[i];
|
||||
|
||||
if (container_is_scratchpad_hidden(child)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (child->view) {
|
||||
struct sway_view *view = child->view;
|
||||
struct border_colors *colors;
|
||||
|
|
Loading…
Reference in a new issue