aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-12 13:33:42 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-12 13:33:42 -0400
commit327f656c3504048c542cbdf332c0a14f2c47c74b (patch)
treed814ec6af4563eff868482689621c330efed0516
parent2272f3d47cdcb5ffa42dcd20ad87253f78a2e9d0 (diff)
bug: emit wlr-seat pointer grab end event
-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);
}
}