diff options
author | emersion <contact@emersion.fr> | 2018-03-30 17:13:13 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-30 17:16:35 -0400 |
commit | 50219564c2492e4ce0bc788f062554f8a99d86f4 (patch) | |
tree | 72ecbeea8a68088855d7db7da898a66f3bdeb2ea /sway/desktop/output.c | |
parent | a776ecbb860608e0f75430a53ea75a6ed19ac746 (diff) |
Fix white screen due to bad cast
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index ea457996..2bcbad18 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -271,9 +271,8 @@ renderer_end: static void damage_handle_frame(struct wl_listener *listener, void *data) { struct sway_output *output = wl_container_of(listener, output, damage_frame); - struct wlr_output *wlr_output = data; - if (!wlr_output->enabled) { + if (!output->wlr_output->enabled) { return; } |