layers.h (675B)
- // Copyright 2019 Drew DeVault
- // Copyright 2019-2020 Inaban Authors <https://hacktivis.me/git/inaban>
- // SPDX-License-Identifier: BSD-3-Clause
- #ifndef _INABAN_LAYERS_H
- #define _INABAN_LAYERS_H
- #include <wayland-server.h>
- #include <wlr/types/wlr_layer_shell_v1.h>
- struct inaban_server;
- struct inaban_layer_surface
- {
- struct wlr_layer_surface_v1 *layer_surface;
- struct inaban_server *server;
- struct wl_list link;
- struct wl_listener destroy;
- struct wl_listener map;
- struct wl_listener surface_commit;
- struct wl_listener output_destroy;
- struct wlr_box geo;
- };
- void server_new_layer_surface(struct wl_listener *listener, void *data);
- #endif /* _INABAN_LAYERS_H↵*/