summaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-12-04 09:17:58 -0500
committerGitHub <[email protected]>2017-12-04 09:17:58 -0500
commit9fbcdc79b692551cacdfda1f2413517fc556b66f (patch)
tree2240f512d2e55102b2ad16b4ff13a6c8124947d9 /include/sway/server.h
parentc733e0858fcf9e54dd41f7b8882d5fe722bb01b4 (diff)
parent0896b6867536e7c12e5345ca5df94b9467c8bf24 (diff)
Merge pull request #1494 from acrisci/feature/xwayland
xwayland shell
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index bfdb7b8a..3fa72e84 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -31,6 +31,9 @@ struct sway_server {
struct wlr_xdg_shell_v6 *xdg_shell_v6;
struct wl_listener xdg_shell_v6_surface;
+ struct wlr_xwayland *xwayland;
+ struct wl_listener xwayland_surface;
+
struct wlr_wl_shell *wl_shell;
struct wl_listener wl_shell_surface;
};
@@ -45,6 +48,7 @@ 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);
+void handle_xwayland_surface(struct wl_listener *listener, void *data);
void handle_wl_shell_surface(struct wl_listener *listener, void *data);
#endif