aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-13 16:38:56 +0100
committerLibravatar emersion <contact@emersion.fr>2018-05-13 16:38:56 +0100
commit88d9d43b367b9b0cb61c4c9fb1619becdb71e9d6 (patch)
tree20597fec9184cbad25711a0f0cd7c028e99d2e78 /include/sway/server.h
parentMerge pull request #1960 from RedSoxFan/edge-borders (diff)
downloadsway-88d9d43b367b9b0cb61c4c9fb1619becdb71e9d6.tar.gz
sway-88d9d43b367b9b0cb61c4c9fb1619becdb71e9d6.tar.zst
sway-88d9d43b367b9b0cb61c4c9fb1619becdb71e9d6.zip
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 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