diff options
-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: | |||
271 | static void damage_handle_frame(struct wl_listener *listener, void *data) { | 271 | static void damage_handle_frame(struct wl_listener *listener, void *data) { |
272 | struct sway_output *output = | 272 | struct sway_output *output = |
273 | wl_container_of(listener, output, damage_frame); | 273 | wl_container_of(listener, output, damage_frame); |
274 | struct wlr_output *wlr_output = data; | ||
275 | 274 | ||
276 | if (!wlr_output->enabled) { | 275 | if (!output->wlr_output->enabled) { |
277 | return; | 276 | return; |
278 | } | 277 | } |
279 | 278 | ||