From 719760fd7b796cd63b105dee5a9ed9d3667f869b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 2 Jan 2022 09:19:40 +0530 Subject: [PATCH] Remove unused UNUSED --- glfw/wl_text_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/wl_text_input.c b/glfw/wl_text_input.c index 4afc4a3d0..667bf47ae 100644 --- a/glfw/wl_text_input.c +++ b/glfw/wl_text_input.c @@ -25,7 +25,7 @@ static void commit(void) { } static void -text_input_enter(void *data UNUSED, struct zwp_text_input_v3 *text_input UNUSED, struct wl_surface *surface UNUSED) { +text_input_enter(void *data UNUSED, struct zwp_text_input_v3 *text_input, struct wl_surface *surface UNUSED) { debug("text-input: enter event\n"); if (text_input) { zwp_text_input_v3_enable(text_input); @@ -35,7 +35,7 @@ text_input_enter(void *data UNUSED, struct zwp_text_input_v3 *text_input UNUSED, } static void -text_input_leave(void *data UNUSED, struct zwp_text_input_v3 *text_input UNUSED, struct wl_surface *surface UNUSED) { +text_input_leave(void *data UNUSED, struct zwp_text_input_v3 *text_input, struct wl_surface *surface UNUSED) { debug("text-input: leave event\n"); if (text_input) { zwp_text_input_v3_disable(text_input);