diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-15 22:18:23 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-15 22:18:23 +0200 |
commit | 2bf8bbfcde0f2cb4d2ddc7a633d1f03933368c0a (patch) | |
tree | bb41f5c4abacd887f257004ebb171388ac95df11 /lib/renderers/wayland/wayland.h | |
parent | 9baca87123f9da3fbf53360fee7527b43197efc5 (diff) | |
download | bemenu-2bf8bbfcde0f2cb4d2ddc7a633d1f03933368c0a.tar.gz bemenu-2bf8bbfcde0f2cb4d2ddc7a633d1f03933368c0a.tar.bz2 bemenu-2bf8bbfcde0f2cb4d2ddc7a633d1f03933368c0a.zip |
Working pango code.
Diffstat (limited to 'lib/renderers/wayland/wayland.h')
-rw-r--r-- | lib/renderers/wayland/wayland.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/renderers/wayland/wayland.h b/lib/renderers/wayland/wayland.h index 886a0fd..d6c0915 100644 --- a/lib/renderers/wayland/wayland.h +++ b/lib/renderers/wayland/wayland.h @@ -85,7 +85,7 @@ struct window { uint32_t displayed; struct { - uint32_t (*render)(struct cairo *cairo, uint32_t width, uint32_t height, const struct bm_menu *menu); + void (*render)(struct cairo *cairo, uint32_t width, uint32_t height, const struct bm_menu *menu, struct cairo_paint_result *result); } notify; }; @@ -111,7 +111,7 @@ struct wayland { 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, uint32_t lines); +void bm_wl_window_render(struct window *window, const struct bm_menu *menu); bool bm_wl_window_create(struct window *window, struct wl_shm *shm, struct wl_shell *shell, struct xdg_shell *xdg_shell, struct wl_surface *surface); void bm_wl_window_destroy(struct window *window); |