osd: restore preview at end of cycling

...so that sub-views are shown in front of root ones.
This commit is contained in:
Johan Malm 2024-01-30 18:06:21 +00:00 committed by Consolatis
parent 79bca44cb1
commit 7704b595d3

View file

@ -56,6 +56,7 @@ keyboard_any_modifiers_pressed(struct wlr_keyboard *keyboard)
static void
end_cycling(struct server *server)
{
osd_preview_restore(server);
if (server->osd_state.cycle_view) {
desktop_focus_view(server->osd_state.cycle_view,
/*raise*/ true);