diff options
-rw-r--r-- | sway/desktop/output.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 1b9b5e67..0c8a5fd4 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -496,6 +496,12 @@ static bool scan_out_fullscreen_view(struct sway_output *output, | |||
496 | if (n_surfaces != 1) { | 496 | if (n_surfaces != 1) { |
497 | return false; | 497 | return false; |
498 | } | 498 | } |
499 | size_t n_popups = 0; | ||
500 | output_view_for_each_popup_surface(output, view, | ||
501 | count_surface_iterator, &n_popups); | ||
502 | if (n_popups > 0) { | ||
503 | return false; | ||
504 | } | ||
499 | 505 | ||
500 | if (surface->buffer == NULL) { | 506 | if (surface->buffer == NULL) { |
501 | return false; | 507 | return false; |