From 5aa642485d8d2e1cc17a105dfcc69dd93b20c9a9 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 2 Feb 2018 20:39:15 +0100 Subject: [PATCH] rootston: do not render views fullscreened on other outputs --- rootston/output.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); }