diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 89150a69..9d88d7aa 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -1065,7 +1065,7 @@ void view_update_marks_textures(struct sway_view *view) { | |||
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | bool view_is_visible(struct sway_view *view) { | 1067 | bool view_is_visible(struct sway_view *view) { |
1068 | if (!view->swayc || view->swayc->destroying) { | 1068 | if (!view->swayc || view->swayc->destroying || !view->swayc->parent) { |
1069 | return false; | 1069 | return false; |
1070 | } | 1070 | } |
1071 | struct sway_container *workspace = | 1071 | struct sway_container *workspace = |