mirror of
https://github.com/swaywm/sway.git
synced 2026-04-10 08:21:11 -04:00
Rename pointer_input::notify to indicate that is called on button clicks
This commit is contained in:
parent
a11277c88f
commit
250ddc66c6
3 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue