23b4eb459e
Commit 7419674b changed some grabs from requiring both mouse and keyboard grabs to be considered successful to only requiring either of them. Due to this it was possible for example to open the overview or the screenshot UI with a client (such as Chrome when opening a menu) holding the mouse grab. This then made it impossible to interact with the UI using the mouse (or keyboard) and if attempted could result in an unresponsive UI. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5414 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2287>