mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-15 05:34:33 -04:00
Use scene-graph helpers for sub-surfaces
Delegate sub-surface handling to wlr_scene_surface_tree_create. References: https://github.com/swaywm/wlroots/pull/3128
This commit is contained in:
parent
fb3dc58237
commit
128fa90ea1
6 changed files with 16 additions and 95 deletions
2
seat.h
2
seat.h
|
|
@ -77,7 +77,7 @@ struct cg_drag_icon {
|
|||
struct wl_list link; // seat::drag_icons
|
||||
struct cg_seat *seat;
|
||||
struct wlr_drag_icon *wlr_drag_icon;
|
||||
struct wlr_scene_surface *scene_surface;
|
||||
struct wlr_scene_node *scene_node;
|
||||
|
||||
/* The drag icon has a position in layout coordinates. */
|
||||
double lx, ly;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue