diff options
author | Yaroslav <[email protected]> | 2023-07-19 06:37:23 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-18 23:37:23 -0400 |
commit | 7b7f060552806d237e746bea7e84c0f5a143e91a (patch) | |
tree | 0858180336fb95bd5b30d5e6c992ffdc186709fd /sway/desktop/render.c | |
parent | c2b01d74a4d630a26fc77881660e06f1fd5cde69 (diff) |
fix: crash when moving to scratchpad tiled window (#202)
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r-- | sway/desktop/render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 8510cf68..611c3ac3 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -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; |