aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/output.c')
-rw-r--r--rootston/output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 294ad57a..b5b277cf 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -312,6 +312,12 @@ damage_finish:
}
static void render_view(struct roots_view *view, struct render_data *data) {
+ // Do not render views fullscreened on other outputs
+ if (view->fullscreen_output != NULL &&
+ view->fullscreen_output != data->output) {
+ return;
+ }
+
render_decorations(view, data);
view_for_each_surface(view, render_surface, data);
}