From 292d20e4c180970f0d2af9a7c44587cfba073fad Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 May 2019 19:06:31 +0300 Subject: backend/wayland: use xdg-decoration-unstable-v1 This allows the toplevel to have proper decorations on compositors that support xdg-decoration-unstable-v1. --- include/backend/wayland.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index c0bb6e74..e6574250 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -32,6 +32,7 @@ struct wlr_wl_backend { struct wl_registry *registry; struct wl_compositor *compositor; struct xdg_wm_base *xdg_wm_base; + struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1; struct wl_shm *shm; struct wl_seat *seat; struct wl_pointer *pointer; @@ -50,6 +51,7 @@ struct wlr_wl_output { struct wl_callback *frame_callback; struct xdg_surface *xdg_surface; struct xdg_toplevel *xdg_toplevel; + struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1; struct wl_egl_window *egl_window; EGLSurface egl_surface; -- cgit v1.2.3