mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05:00
backend/x11: get renderer from wlr_x11_output
This commit is contained in:
parent
5a98eae0dc
commit
5f11198605
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
static bool output_cursor_to_picture(struct wlr_x11_output *output,
|
||||||
struct wlr_buffer *buffer) {
|
struct wlr_buffer *buffer) {
|
||||||
struct wlr_x11_backend *x11 = output->x11;
|
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) {
|
if (output->cursor.pic != XCB_NONE) {
|
||||||
xcb_render_free_picture(x11->xcb, output->cursor.pic);
|
xcb_render_free_picture(x11->xcb, output->cursor.pic);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue