diff --git a/src/wayland/meta-wayland-pointer-constraints.c b/src/wayland/meta-wayland-pointer-constraints.c index dc81b8005..a9f9a8d4d 100644 --- a/src/wayland/meta-wayland-pointer-constraints.c +++ b/src/wayland/meta-wayland-pointer-constraints.c @@ -331,6 +331,7 @@ meta_wayland_pointer_constraint_enable (MetaWaylandPointerConstraint *constraint static void meta_wayland_pointer_constraint_disable (MetaWaylandPointerConstraint *constraint) { + constraint->is_enabled = FALSE; meta_wayland_pointer_constraint_notify_deactivated (constraint); meta_wayland_pointer_end_grab (constraint->grab.pointer); meta_backend_set_client_pointer_constraint (meta_get_backend (), NULL);