mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
osd: draw window switcher with scene-nodes
...rather than drawing it onto a single texture.
This commit is contained in:
parent
2be149064e
commit
75eb370d31
3 changed files with 110 additions and 128 deletions
|
|
@ -412,6 +412,12 @@ struct output {
|
|||
struct wlr_scene_tree *osd_tree;
|
||||
struct wlr_scene_tree *session_lock_tree;
|
||||
struct wlr_scene_buffer *workspace_osd;
|
||||
|
||||
struct osd_scene {
|
||||
struct wl_array items; /* struct osd_scene_item */
|
||||
struct wlr_scene_tree *tree;
|
||||
} osd_scene;
|
||||
|
||||
/* In output-relative scene coordinates */
|
||||
struct wlr_box usable_area;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue