mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-09 13:29:46 -05:00
bug: emit wlr-seat pointer grab end event
This commit is contained in:
parent
2272f3d47c
commit
327f656c35
1 changed files with 1 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ void wlr_seat_pointer_end_grab(struct wlr_seat *wlr_seat) {
|
||||||
struct wlr_seat_pointer_grab *grab = wlr_seat->pointer_state.grab;
|
struct wlr_seat_pointer_grab *grab = wlr_seat->pointer_state.grab;
|
||||||
if (grab != wlr_seat->pointer_state.default_grab) {
|
if (grab != wlr_seat->pointer_state.default_grab) {
|
||||||
wlr_seat->pointer_state.grab = wlr_seat->pointer_state.default_grab;
|
wlr_seat->pointer_state.grab = wlr_seat->pointer_state.default_grab;
|
||||||
|
wl_signal_emit(&wlr_seat->events.pointer_grab_end, grab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue