aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-09-12 06:18:52 -0400
committerTony Crisci <tony@dubstepdish.com>2017-09-13 07:57:16 -0400
commit9d2dc8447a64d0f402b309af5a655ce374dad808 (patch)
treeab971c7b72b532bdf483f4ed1b5aa125b1122c63 /include
parentb2c71287f29cec22217177d11e8692e73b805b66 (diff)
use wlr_surface on shell struct and listen to events
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xdg_shell_v6.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h
index 6bc37940..27fafd2d 100644
--- a/include/wlr/types/wlr_xdg_shell_v6.h
+++ b/include/wlr/types/wlr_xdg_shell_v6.h
@@ -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;
};