mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
pointer: release pressed buttons on destroy
This commit is contained in:
parent
c752270be7
commit
56d69320c7
8 changed files with 38 additions and 6 deletions
|
|
@ -112,7 +112,7 @@ static void pointer_handle_button(void *data, struct wl_pointer *wl_pointer,
|
|||
.state = state,
|
||||
.time_msec = time,
|
||||
};
|
||||
wl_signal_emit_mutable(&pointer->wlr_pointer.events.button, &event);
|
||||
wlr_pointer_notify_button(&pointer->wlr_pointer, &event);
|
||||
}
|
||||
|
||||
static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue