![Olivier Fourdan](/assets/img/avatar_default.png)
The "force restore shortcuts" being triggered by a key-combo, there is no guarantee that the currently focused window is actually non-NULL in which case we would crash. Make sure there is a window currently focused before trying to restore the shortcuts on that window. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/464