wmenu/wayland.h

20 lines
645 B
C
Raw Normal View History

2024-05-02 17:03:07 -04:00
#ifndef WMENU_WAYLAND_H
#define WMENU_WAYLAND_H
#include "menu.h"
#include <wayland-client-protocol.h>
struct wl_context;
int menu_run(struct menu *menu);
int context_get_scale(struct wl_context *context);
2024-05-02 18:45:49 -04:00
struct pool_buffer *context_get_current_buffer(struct wl_context *context);
struct pool_buffer *context_get_next_buffer(struct wl_context *context, int scale);
2024-05-02 17:03:07 -04:00
struct wl_surface *context_get_surface(struct wl_context *context);
struct xkb_state *context_get_xkb_state(struct wl_context *context);
2024-05-02 21:39:54 -04:00
struct xdg_activation_v1 *context_get_xdg_activation(struct wl_context *context);
2024-05-02 17:03:07 -04:00
bool context_paste(struct wl_context *context);
#endif