src/osd.c: Integrate preview outline into OSD state

This commit is contained in:
Consolatis 2022-08-22 00:42:01 +02:00
parent 15a5b710db
commit ca3c83aafc
2 changed files with 6 additions and 7 deletions

View file

@ -202,8 +202,6 @@ struct server {
/* Tree for built in menu */
struct wlr_scene_tree *menu_tree;
struct multi_rect *osd_preview_outline;
/* Workspaces */
struct wl_list workspaces; /* struct workspace.link */
struct workspace *workspace_current;
@ -236,6 +234,7 @@ struct server {
bool preview_was_enabled;
struct wlr_scene_node *preview_node;
struct wlr_scene_node *preview_anchor;
struct multi_rect *preview_outline;
} osd_state;
struct theme *theme;