osd: show alt-tab switcher center-aligned on all outputs

Fixes issue #283
This commit is contained in:
Johan Malm 2022-04-20 17:45:10 +01:00
parent a234e71b29
commit 48c9e6fda0
6 changed files with 30 additions and 20 deletions

View file

@ -183,8 +183,6 @@ struct server {
#endif
/* Tree for built in menu */
struct wlr_scene_tree *menu_tree;
/* Tree for built in OSD / app switcher */
struct wlr_scene_tree *osd_tree;
struct wl_list outputs;
struct wl_listener new_output;
@ -225,6 +223,7 @@ struct output {
struct wl_list layers[LAB_NR_LAYERS];
struct wlr_scene_tree *layer_tree[LAB_NR_LAYERS];
struct wlr_scene_tree *layer_popup_tree;
struct wlr_scene_tree *osd_tree;
struct wlr_box usable_area;
struct lab_data_buffer *osd_buffer;