From a127d05790dfd3a0b4c1a721748e68f269480cf6 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 6 Oct 2014 16:19:19 -0700 Subject: [PATCH] pointer: Make sure to update the focus after ending a grab Otherwise, we might not reset it after the grab has ended. --- src/wayland/meta-wayland-pointer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 40ec1ab93..b730e6da1 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -565,6 +565,8 @@ meta_wayland_pointer_end_grab (MetaWaylandPointer *pointer) pointer->grab = &pointer->default_grab; interface = pointer->grab->interface; interface->focus (pointer->grab, pointer->current); + + meta_wayland_pointer_update_cursor_surface (pointer); } typedef struct {