mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-23 01:40:31 -05: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
|
|
@ -36,7 +36,7 @@ static void send_button_event(struct wlr_x11_output *output, uint32_t key,
|
|||
.button = key,
|
||||
.state = st,
|
||||
};
|
||||
wl_signal_emit_mutable(&output->pointer.events.button, &ev);
|
||||
wlr_pointer_notify_button(&output->pointer, &ev);
|
||||
wl_signal_emit_mutable(&output->pointer.events.frame, &output->pointer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue