d500bf1ac9
We have to move the surface destroy listener around as we track the currently focused surface. Introduce a helper function, focus_state_set_focus() for this and use throughout. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73768