Prepare OSD for reimplementation of the preview feature

This commit is contained in:
Consolatis 2022-04-26 22:06:22 +02:00
parent a32e1ff8f9
commit 296e58079f
5 changed files with 28 additions and 21 deletions

View file

@ -231,7 +231,11 @@ struct server {
struct wl_listener new_constraint;
/* Set when in cycle (alt-tab) mode */
struct view *cycle_view;
struct osd_state {
struct view *cycle_view;
struct wlr_scene_node *preview_node;
struct wlr_scene_node *preview_anchor;
} osd_state;
struct theme *theme;