diff options
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/input_device.c | 6 | ||||
-rw-r--r-- | backend/x11/output.c | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c index 3bbbe594..9182ba8e 100644 --- a/backend/x11/input_device.c +++ b/backend/x11/input_device.c @@ -289,12 +289,8 @@ const struct wlr_keyboard_impl x11_keyboard_impl = { .name = "x11-keyboard", }; -static void pointer_destroy(struct wlr_pointer *wlr_pointer) { - // Don't free the pointer, it's on the stack -} - const struct wlr_pointer_impl x11_pointer_impl = { - .destroy = pointer_destroy, + .name = "x11-pointer", }; static void touch_destroy(struct wlr_touch *wlr_touch) { diff --git a/backend/x11/output.c b/backend/x11/output.c index 7037c36c..24c08fce 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -76,7 +76,7 @@ static void output_destroy(struct wlr_output *wlr_output) { pixman_region32_fini(&output->exposed); - wlr_pointer_destroy(&output->pointer); + wlr_pointer_finish(&output->pointer); wlr_touch_destroy(&output->touch); struct wlr_x11_buffer *buffer, *buffer_tmp; |