Use the wlroots scene-graph API

References: https://github.com/swaywm/wlroots/pull/1966
This commit is contained in:
Simon Ser 2021-08-09 20:06:57 +02:00
parent 1a3ab3eb3a
commit 60a7106343
12 changed files with 60 additions and 152 deletions

1
view.h
View file

@ -26,6 +26,7 @@ struct cg_view {
struct wl_list link; // server::views
struct wl_list children; // cg_view_child::link
struct wlr_surface *wlr_surface;
struct wlr_scene_surface *scene_surface;
/* The view has a position in layout coordinates. */
int lx, ly;