]> git.mdlowis.com Git - proto/labwc.git/commitdiff
osd: restore preview at end of cycling
authorJohan Malm <jgm323@gmail.com>
Tue, 30 Jan 2024 18:06:21 +0000 (18:06 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 5 Mar 2024 21:16:55 +0000 (22:16 +0100)
...so that sub-views are shown in front of root ones.

src/input/keyboard.c

index 3b0b6d96697c30a9d0f7563393dd756b2798744c..4a68428b005757c7694e4ad1f0c809e3e6cc4c20 100644 (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);