diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-15 12:53:03 -0500 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-18 09:37:57 -0500 |
commit | 5f111986056ff398e72d819481b6270c2b6dcbf6 (patch) | |
tree | f4925c7c8f8343092b4f8c825615f3cb4a2f8fa2 /backend/x11/output.c | |
parent | 5a98eae0dce0cf4d64406a48beefaff70b5074bd (diff) |
backend/x11: get renderer from wlr_x11_output
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r-- | backend/x11/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c index 76172582..9081769e 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -376,7 +376,7 @@ static void update_x11_output_cursor(struct wlr_x11_output *output, static bool output_cursor_to_picture(struct wlr_x11_output *output, struct wlr_buffer *buffer) { struct wlr_x11_backend *x11 = output->x11; - struct wlr_renderer *renderer = wlr_backend_get_renderer(&x11->backend); + struct wlr_renderer *renderer = output->wlr_output.renderer; if (output->cursor.pic != XCB_NONE) { xcb_render_free_picture(x11->xcb, output->cursor.pic); |