aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
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 296fbf22..071135ca 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -8,6 +8,7 @@
8#include <wlr/types/wlr_data_device.h> 8#include <wlr/types/wlr_data_device.h>
9#include <wlr/types/wlr_layer_shell.h> 9#include <wlr/types/wlr_layer_shell.h>
10#include <wlr/types/wlr_xdg_shell_v6.h> 10#include <wlr/types/wlr_xdg_shell_v6.h>
11#include <wlr/types/wlr_xdg_shell.h>
11#include <wlr/render/wlr_renderer.h> 12#include <wlr/render/wlr_renderer.h>
12// TODO WLR: make Xwayland optional 13// TODO WLR: make Xwayland optional
13#include <wlr/xwayland.h> 14#include <wlr/xwayland.h>
@@ -32,6 +33,9 @@ struct sway_server {
32 struct wlr_xdg_shell_v6 *xdg_shell_v6; 33 struct wlr_xdg_shell_v6 *xdg_shell_v6;
33 struct wl_listener xdg_shell_v6_surface; 34 struct wl_listener xdg_shell_v6_surface;
34 35
36 struct wlr_xdg_shell *xdg_shell;
37 struct wl_listener xdg_shell_surface;
38
35 struct wlr_xwayland *xwayland; 39 struct wlr_xwayland *xwayland;
36 struct wlr_xcursor_manager *xcursor_manager; 40 struct wlr_xcursor_manager *xcursor_manager;
37 struct wl_listener xwayland_surface; 41 struct wl_listener xwayland_surface;
@@ -51,6 +55,7 @@ void handle_new_output(struct wl_listener *listener, void *data);
51 55
52void handle_layer_shell_surface(struct wl_listener *listener, void *data); 56void handle_layer_shell_surface(struct wl_listener *listener, void *data);
53void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); 57void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
58void handle_xdg_shell_surface(struct wl_listener *listener, void *data);
54void handle_xwayland_surface(struct wl_listener *listener, void *data); 59void handle_xwayland_surface(struct wl_listener *listener, void *data);
55void handle_wl_shell_surface(struct wl_listener *listener, void *data); 60void handle_wl_shell_surface(struct wl_listener *listener, void *data);
56 61