wayland.h - wmenu - [fork] efficient dynamic menu for wayland
(HTM) git clone https://git.drkhsh.at/wmenu.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
wayland.h (645B)
---
1 #ifndef WMENU_WAYLAND_H
2 #define WMENU_WAYLAND_H
3
4 #include "menu.h"
5 #include <wayland-client-protocol.h>
6
7 struct wl_context;
8
9 int menu_run(struct menu *menu);
10
11 int context_get_scale(struct wl_context *context);
12 struct pool_buffer *context_get_current_buffer(struct wl_context *context);
13 struct pool_buffer *context_get_next_buffer(struct wl_context *context, int scale);
14 struct wl_surface *context_get_surface(struct wl_context *context);
15 struct xkb_state *context_get_xkb_state(struct wl_context *context);
16 struct xdg_activation_v1 *context_get_xdg_activation(struct wl_context *context);
17 bool context_paste(struct wl_context *context);
18
19 #endif