logo

inaban

Distrustful Wayland Compositor (inspired by XMonad and dwm) git clone https://hacktivis.me/git/inaban.git

layers.h (675B)


  1. // Copyright 2019 Drew DeVault
  2. // Copyright 2019-2020 Inaban Authors <https://hacktivis.me/git/inaban>
  3. // SPDX-License-Identifier: BSD-3-Clause
  4. #ifndef _INABAN_LAYERS_H
  5. #define _INABAN_LAYERS_H
  6. #include <wayland-server.h>
  7. #include <wlr/types/wlr_layer_shell_v1.h>
  8. struct inaban_server;
  9. struct inaban_layer_surface
  10. {
  11. struct wlr_layer_surface_v1 *layer_surface;
  12. struct inaban_server *server;
  13. struct wl_list link;
  14. struct wl_listener destroy;
  15. struct wl_listener map;
  16. struct wl_listener surface_commit;
  17. struct wl_listener output_destroy;
  18. struct wlr_box geo;
  19. };
  20. void server_new_layer_surface(struct wl_listener *listener, void *data);
  21. #endif /* _INABAN_LAYERS_H↵*/