From 555721f7142e1e363c17820657fb1e2b004e7c54 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 10 Jun 2018 11:15:26 +0100 Subject: Add xdg-decoration-unstable-v1 support --- include/rootston/view.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/rootston/view.h') diff --git a/include/rootston/view.h b/include/rootston/view.h index 4e3859d5..69cbc87c 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -190,6 +191,14 @@ struct roots_xdg_popup { struct wl_listener new_popup; }; +struct roots_xdg_toplevel_decoration { + struct wlr_xdg_toplevel_decoration_v1 *wlr_decoration; + struct roots_xdg_surface *surface; + struct wl_listener destroy; + struct wl_listener request_mode; + struct wl_listener surface_commit; +}; + void view_get_box(const struct roots_view *view, struct wlr_box *box); void view_activate(struct roots_view *view, bool active); void view_move(struct roots_view *view, double x, double y); -- cgit v1.2.3