aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 043c1a33..5a8a8d31 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -5,6 +5,7 @@
#include <wlr/backend.h>
#include <wlr/backend/session.h>
#include <wlr/types/wlr_data_device_manager.h>
+#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/render.h>
// TODO WLR: make Xwayland optional
#include <wlr/xwayland.h>
@@ -24,6 +25,9 @@ struct sway_server {
struct wl_listener output_add;
struct wl_listener output_remove;
struct wl_listener output_frame;
+
+ struct wlr_xdg_shell_v6 *xdg_shell_v6;
+ struct wl_listener xdg_shell_v6_surface;
};
struct sway_server server;
@@ -35,4 +39,6 @@ void server_run(struct sway_server *server);
void output_add_notify(struct wl_listener *listener, void *data);
void output_remove_notify(struct wl_listener *listener, void *data);
+void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
+
#endif