diff options
Diffstat (limited to 'lib/renderers/wayland/wayland.h')
-rw-r--r-- | lib/renderers/wayland/wayland.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/renderers/wayland/wayland.h b/lib/renderers/wayland/wayland.h index a4ba5f3..9fd9dc7 100644 --- a/lib/renderers/wayland/wayland.h +++ b/lib/renderers/wayland/wayland.h @@ -83,6 +83,7 @@ struct window { uint32_t width, height, max_height; uint32_t displayed; struct wl_list link; + bool bottom; struct { void (*render)(struct cairo *cairo, uint32_t width, uint32_t height, uint32_t max_height, const struct bm_menu *menu, struct cairo_paint_result *result); @@ -117,6 +118,7 @@ void bm_wl_repeat(struct wayland *wayland); bool bm_wl_registry_register(struct wayland *wayland); void bm_wl_registry_destroy(struct wayland *wayland); void bm_wl_window_render(struct window *window, const struct bm_menu *menu); +void bm_wl_window_set_bottom(struct window *window, struct wl_display *display, bool bottom); bool bm_wl_window_create(struct window *window, struct wl_display *display, struct wl_shm *shm, struct wl_output *output, struct zwlr_layer_shell_v1 *layer_shell, struct wl_surface *surface); void bm_wl_window_destroy(struct window *window); |