From 250ddc66c672f62a3c7f44db73b5c4d0661093ba Mon Sep 17 00:00:00 2001 From: David Eklov Date: Mon, 11 Jul 2016 22:51:50 -0500 Subject: Rename pointer_input::notify to indicate that is called on button clicks --- wayland/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wayland') diff --git a/wayland/window.c b/wayland/window.c index 9b6e5b00..2a76654b 100644 --- a/wayland/window.c +++ b/wayland/window.c @@ -41,8 +41,8 @@ static void pointer_handle_button(void *data, struct wl_pointer *pointer, uint32 struct window *window = data; struct pointer_input *input = &window->pointer_input; - if (window->pointer_input.notify) { - window->pointer_input.notify(window, input->last_x, input->last_y, button); + if (window->pointer_input.notify_button) { + window->pointer_input.notify_button(window, input->last_x, input->last_y, button); } } -- cgit v1.2.3-54-g00ecf