diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 19:27:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 19:27:52 -0400 |
commit | ca809d25199b229b3da7d69f427eb67539dc7bc0 (patch) | |
tree | b28c55c464feb85c61f314a26487404fd63f4fb3 /include/sway/server.h | |
parent | 9070950eecded7bfa64e7bca3bb76b150ccc8b72 (diff) | |
parent | 8d6bce02afc656bf792815ed68121f4e614cd175 (diff) |
Merge pull request #1642 from swaywm/layer-shell
Implement layer shell (rendering)
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index eb7fa2ff..25eb64fe 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -6,6 +6,7 @@ #include <wlr/backend/session.h> #include <wlr/types/wlr_compositor.h> #include <wlr/types/wlr_data_device.h> +#include <wlr/types/wlr_layer_shell.h> #include <wlr/types/wlr_xdg_shell_v6.h> #include <wlr/render/wlr_renderer.h> // TODO WLR: make Xwayland optional @@ -27,6 +28,9 @@ struct sway_server { struct wl_listener new_output; struct wl_listener output_frame; + struct wlr_layer_shell *layer_shell; + struct wl_listener layer_shell_surface; + struct wlr_xdg_shell_v6 *xdg_shell_v6; struct wl_listener xdg_shell_v6_surface; @@ -46,6 +50,7 @@ void server_run(struct sway_server *server); 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_xwayland_surface(struct wl_listener *listener, void *data); void handle_wl_shell_surface(struct wl_listener *listener, void *data); |