From 577d2f6fcd8f69b78c2cd84190f060c60b7b9a2a Mon Sep 17 00:00:00 2001
From: Dominique Martinet <asmadeus@codewreck.org>
Date: Wed, 16 Aug 2017 19:19:31 +0200
Subject: wayland backend: switch to xdg shell

Closes #72 and #96.
---
 include/backend/wayland.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'include/backend')

diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 92ae63ba..5e278dc9 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -24,7 +24,7 @@ struct wlr_wl_backend {
 	struct wl_event_source *remote_display_src;
 	struct wl_registry *registry;
 	struct wl_compositor *compositor;
-	struct wl_shell *shell;
+	struct zxdg_shell_v6 *shell;
 	struct wl_shm *shm;
 	struct wl_seat *seat;
 	struct wl_pointer *pointer;
@@ -36,7 +36,8 @@ struct wlr_wl_backend_output {
 
 	struct wlr_wl_backend *backend;
 	struct wl_surface *surface;
-	struct wl_shell_surface *shell_surface;
+	struct zxdg_surface_v6 *xdg_surface;
+	struct zxdg_toplevel_v6 *xdg_toplevel;
 	struct wl_egl_window *egl_window;
 	struct wl_callback *frame_callback;
 
-- 
cgit v1.2.3