diff options
Diffstat (limited to 'sway/desktop/layer_shell.c')
-rw-r--r-- | sway/desktop/layer_shell.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index ff37bbf1..de1fe349 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -307,6 +307,11 @@ static void handle_unmap(struct wl_listener *listener, void *data) { unmap(sway_layer); } +struct sway_layer_surface *layer_from_wlr_layer_surface( + struct wlr_layer_surface *layer_surface) { + return layer_surface->data; +} + void handle_layer_shell_surface(struct wl_listener *listener, void *data) { struct wlr_layer_surface *layer_surface = data; struct sway_server *server = |