src/desktop.c: remove osd_review_restore() call in desktop_cycle_view()

It was a cruft from days when we used to walk scene-nodes to get the next
view to cycle.
This commit is contained in:
tokyo4j 2024-12-30 00:38:43 +09:00 committed by Hiroaki Yamamoto
parent bb982dc0af
commit 1e0a7e2562

View 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;