diff options
author | emersion <contact@emersion.fr> | 2018-03-13 19:57:21 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-13 19:57:21 +0100 |
commit | e74ddaaf10f1c8078cf078f55428b9e86776ca93 (patch) | |
tree | c7a616685b4eaeb5eeacea72b36058b832e14e29 /rootston/output.c | |
parent | 125138f1a0448927c26c0f8a2761fed2df09b6ad (diff) |
xdg-shell-v6: redesign the configure/ack_configure workflow
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index adcbb961..f772ea24 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -433,7 +433,8 @@ static void render_output(struct roots_output *output) { float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f}; // Check if we can delegate the fullscreen surface to the output - if (output->fullscreen_view != NULL) { + if (output->fullscreen_view != NULL && + output->fullscreen_view->wlr_surface != NULL) { struct roots_view *view = output->fullscreen_view; // Make sure the view is centered on screen |