use wlr_surface on shell struct and listen to events

This commit is contained in:
Tony Crisci 2017-09-12 06:18:52 -04:00
parent b2c71287f2
commit 9d2dc8447a
3 changed files with 16 additions and 6 deletions

View file

@ -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;
};