aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_seat.c b/types/wlr_seat.c
index ef81655c..bbb66142 100644
--- a/types/wlr_seat.c
+++ b/types/wlr_seat.c
@@ -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;
if (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);
}
}