aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-05-06 19:06:31 +0300
committerDrew DeVault <sir@cmpwn.com>2019-05-06 10:34:41 -0600
commit292d20e4c180970f0d2af9a7c44587cfba073fad (patch)
tree75d86e8038da370e183787245159ab95607d9171 /include/backend
parent6ae6b5dbb6c4f33f3c8ba12cd889100376d1edd8 (diff)
backend/wayland: use xdg-decoration-unstable-v1
This allows the toplevel to have proper decorations on compositors that support xdg-decoration-unstable-v1.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h2
1 files changed, 2 insertions, 0 deletions
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;