From 91bf9b4d14bcf135809a7fd381ebaf7986042f47 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Mon, 16 Apr 2018 17:53:11 +0900 Subject: wayland renderer: implement bottom --- lib/renderers/wayland/wayland.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/renderers/wayland/wayland.h') 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); -- cgit v1.2.3-70-g09d2