aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-13 13:45:15 -0400
committerGitHub <noreply@github.com>2018-05-13 13:45:15 -0400
commitb2dec1236837f0c441a9fd6162b6294c52fac5e0 (patch)
tree6710b0e9261285f22df2751a1404b05371cff000 /include/sway/server.h
parent4f540b638e6d5adedb1a98565b654f4631ef6267 (diff)
parent88d9d43b367b9b0cb61c4c9fb1619becdb71e9d6 (diff)
Merge pull request #1970 from emersion/xdg-shell-stable
Add xdg-shell stable support
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index ac685bf8..d04ea896 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -8,6 +8,7 @@
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_layer_shell.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
+#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/render/wlr_renderer.h>
// TODO WLR: make Xwayland optional
#include <wlr/xwayland.h>
@@ -33,6 +34,9 @@ struct sway_server {
struct wlr_xdg_shell_v6 *xdg_shell_v6;
struct wl_listener xdg_shell_v6_surface;
+ struct wlr_xdg_shell *xdg_shell;
+ struct wl_listener xdg_shell_surface;
+
struct wlr_xwayland *xwayland;
struct wlr_xcursor_manager *xcursor_manager;
struct wl_listener xwayland_surface;
@@ -52,6 +56,7 @@ void handle_new_output(struct wl_listener *listener, void *data);
void handle_layer_shell_surface(struct wl_listener *listener, void *data);
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
+void handle_xdg_shell_surface(struct wl_listener *listener, void *data);
void handle_xwayland_surface(struct wl_listener *listener, void *data);
void handle_wl_shell_surface(struct wl_listener *listener, void *data);