diff options
author | Jari Vetoniemi <mailRoxas@gmail.com> | 2018-04-16 12:30:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 12:30:31 +0300 |
commit | f7bb9f953df41d61beb1bce750ca10df1993ec99 (patch) | |
tree | 4c38d8d3a7e570daee75d6bdb297855dab9f25d4 /lib/renderers/wayland/wayland.h | |
parent | b735a4842c3eee8f1a7dbeda2d49c91faface16f (diff) | |
parent | 86f6e57bfe46e4a06177ed673410288f2330d1cc (diff) | |
download | bemenu-f7bb9f953df41d61beb1bce750ca10df1993ec99.tar.gz bemenu-f7bb9f953df41d61beb1bce750ca10df1993ec99.tar.bz2 bemenu-f7bb9f953df41d61beb1bce750ca10df1993ec99.zip |
Merge pull request #32 from martinetd/wayland_bottom
Wayland renderer: implement bottom option
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); |