diff options
author | emersion <contact@emersion.fr> | 2018-03-10 11:18:50 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-10 11:18:50 +0100 |
commit | 3f072bedd98969974ec1d3e8ffd9bae4150e52d4 (patch) | |
tree | 48bfa58f93acac72f435f294a14c83621369f171 /rootston/output.c | |
parent | c27fd1e1ee9826ea0668d2bb5aa8644daec29a7f (diff) |
xdg-shell-v6: add map signal
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index 4d0a9c05..adcbb961 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -501,7 +501,9 @@ static void render_output(struct roots_output *output) { goto renderer_end; } - view_for_each_surface(view, render_surface, &data); + if (view->wlr_surface != NULL) { + view_for_each_surface(view, render_surface, &data); + } // During normal rendering the xwayland window tree isn't traversed // because all windows are rendered. Here we only want to render @@ -570,6 +572,9 @@ void output_damage_whole(struct roots_output *output) { static bool view_accept_damage(struct roots_output *output, struct roots_view *view) { + if (view->wlr_surface == NULL) { + return false; + } if (output->fullscreen_view == NULL) { return true; } |