mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
use wlr_surface on shell struct and listen to events
This commit is contained in:
parent
b2c71287f2
commit
9d2dc8447a
3 changed files with 16 additions and 6 deletions
|
|
@ -18,11 +18,12 @@ enum wlr_xdg_surface_v6_role {
|
|||
|
||||
struct wlr_xdg_surface_v6 {
|
||||
struct wl_resource *resource;
|
||||
struct wl_resource *surface;
|
||||
struct wlr_surface *surface;
|
||||
struct wl_list link;
|
||||
enum wlr_xdg_surface_v6_role role;
|
||||
|
||||
struct wl_listener surface_destroy_listener;
|
||||
struct wl_listener surface_commit_listener;
|
||||
|
||||
void *data;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue