diff --git a/src/wayland/meta-wayland-popup.c b/src/wayland/meta-wayland-popup.c index f9141dd06..1b36d00ff 100644 --- a/src/wayland/meta-wayland-popup.c +++ b/src/wayland/meta-wayland-popup.c @@ -141,10 +141,17 @@ popup_grab_button (MetaWaylandPointerGrab *grab, meta_wayland_pointer_end_popup_grab (grab->pointer); } +static void +popup_grab_cancel (MetaWaylandPointerGrab *grab) +{ + meta_wayland_pointer_end_popup_grab (grab->pointer); +} + static MetaWaylandPointerGrabInterface popup_grab_interface = { popup_grab_focus, popup_grab_motion, - popup_grab_button + popup_grab_button, + popup_grab_cancel }; MetaWaylandPopupGrab *