rootston: do not render views fullscreened on other outputs

This commit is contained in:
emersion 2018-02-02 20:39:15 +01:00
parent 4d6e7f510e
commit 5aa642485d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -312,6 +312,12 @@ damage_finish:
} }
static void render_view(struct roots_view *view, struct render_data *data) { 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); render_decorations(view, data);
view_for_each_surface(view, render_surface, data); view_for_each_surface(view, render_surface, data);
} }