wio

a wayland wm stylised after plan9 rio - forked from git.sr.ht/~srcmpwn/wio
git clone git://src.gearsix.net/wiowio.zip
Log | Files | Refs | Atom | Submodules | README | LICENSE

layers.h (raw) (491B)


   1 #ifndef _WIO_LAYERS_H
   2 #define _WIO_LAYERS_H
   3 #include <wlr/types/wlr_layer_shell_v1.h>
   4 #include <wayland-server.h>
   5 
   6 struct wio_server;
   7 
   8 struct wio_layer_surface {
   9 	struct wlr_layer_surface_v1 *layer_surface;
  10 	struct wio_server *server;
  11 	struct wl_list link;
  12 
  13 	struct wl_listener destroy;
  14 	struct wl_listener map;
  15 	struct wl_listener surface_commit;
  16 	struct wl_listener output_destroy;
  17 
  18 	struct wlr_box geo;
  19 };
  20 
  21 void server_new_layer_surface(struct wl_listener *listener, void *data);
  22 
  23 #endif