Skip to content
  • Carlos Garnacho's avatar
    wayland: Unset pointer constraint in the backend before dropping the grab · 107e5215
    Carlos Garnacho authored
    Dropping the grab has the side effect that the pointer will be re-picked,
    and it might find another surface with a pointer constraint. If that were
    the case, the focus change would try to add the pointer constraint before
    the now old focus surface released its own.
    
    Just invert these operations, so the constraint is unset before the repick
    that might enable another pointer constraint.
    
    Closes: #779
    107e5215