aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c6
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,
if (n_surfaces != 1) {
return false;
}
+ size_t n_popups = 0;
+ output_view_for_each_popup_surface(output, view,
+ count_surface_iterator, &n_popups);
+ if (n_popups > 0) {
+ return false;
+ }
if (surface->buffer == NULL) {
return false;