mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
rootston: do not render views fullscreened on other outputs
This commit is contained in:
parent
4d6e7f510e
commit
5aa642485d
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue