]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/desktop.c: remove osd_review_restore() call in desktop_cycle_view()
authortokyo4j <hrak1529@gmail.com>
Sun, 29 Dec 2024 15:38:43 +0000 (00:38 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Mon, 30 Dec 2024 09:07:45 +0000 (18:07 +0900)
It was a cruft from days when we used to walk scene-nodes to get the next
view to cycle.

src/desktop.c

index e8c36749db4aaee5a8846b3501f0b5d021a4f61b..5f7958b9358f6606ab05fb1b236946db6fff0af3 100644 (file)
@@ -112,9 +112,6 @@ struct view *
 desktop_cycle_view(struct server *server, struct view *start_view,
                enum lab_cycle_dir dir)
 {
-       /* Make sure to have all nodes in their actual ordering */
-       osd_preview_restore(server);
-
        struct view *(*iter)(struct wl_list *head, struct view *view,
                enum lab_view_criteria criteria);
        bool forwards = dir == LAB_CYCLE_DIR_FORWARD;