fix: crash when moving to scratchpad tiled window (#202)

This commit is contained in:
Yaroslav 2023-07-19 06:37:23 +03:00 committed by GitHub
parent c2b01d74a4
commit 7b7f060552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;