aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-20 16:32:29 +0100
committeremersion <contact@emersion.fr>2018-02-20 16:32:29 +0100
commit00e647e16126e2557d23b04db2eace3d57ae20e4 (patch)
tree69acc9bfbe3df0fa6786458300a77294d68adc5c
parentdc77b4c8c648c9a19b540fa3402d5400523fa452 (diff)
rootston: fix sending frame done to undefined view
-rw-r--r--rootston/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 127fec78..b47d9129 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -535,7 +535,8 @@ damage_finish:
// Send frame done events to all surfaces
if (output->fullscreen_view != NULL) {
- if (wlr_output->fullscreen_surface == output->fullscreen_view->wlr_surface) {
+ struct roots_view *view = output->fullscreen_view;
+ if (wlr_output->fullscreen_surface == view->wlr_surface) {
// The surface is managed by the wlr_output
return;
}