21#ifndef __WLMTK_SURFACE_H__
22#define __WLMTK_SURFACE_H__
24#include <libbase/libbase.h>
26#include <wayland-server-core.h>
38struct wlr_xdg_surface;
54 struct wlr_surface *wlr_surface_ptr,
55 struct wlr_seat *wlr_seat_ptr);
69 struct wlr_xdg_surface *wlr_xdg_surface_ptr,
70 struct wlr_seat *wlr_seat_ptr);
117 struct wl_listener *listener_ptr,
118 wl_notify_func_t handler);
122 struct wl_listener *listener_ptr,
123 wl_notify_func_t handler);
bool wlmtk_surface_is_activated(wlmtk_surface_t *surface_ptr)
Definition surface.c:247
wlmtk_surface_t * wlmtk_xdg_surface_create(struct wlr_xdg_surface *wlr_xdg_surface_ptr, struct wlr_seat *wlr_seat_ptr)
Definition surface.c:173
void wlmtk_surface_destroy(wlmtk_surface_t *surface_ptr)
Definition surface.c:190
void wlmtk_surface_get_size(wlmtk_surface_t *surface_ptr, int *width_ptr, int *height_ptr)
Definition surface.c:203
struct _wlmtk_surface_vmt_t wlmtk_surface_vmt_t
Definition surface.h:31
wlmtk_element_t * wlmtk_surface_element(wlmtk_surface_t *surface_ptr)
Definition surface.c:197
void wlmtk_surface_connect_map_listener_signal(wlmtk_surface_t *surface_ptr, struct wl_listener *listener_ptr, wl_notify_func_t handler)
Definition surface.c:253
void wlmtk_surface_connect_unmap_listener_signal(wlmtk_surface_t *surface_ptr, struct wl_listener *listener_ptr, wl_notify_func_t handler)
Definition surface.c:266
wlmtk_surface_t * wlmtk_surface_create(struct wlr_surface *wlr_surface_ptr, struct wlr_seat *wlr_seat_ptr)
Definition surface.c:156
const bs_test_set_t wlmtk_surface_test_set
Definition surface.c:832
void wlmtk_surface_set_activated(wlmtk_surface_t *surface_ptr, bool activated)
Definition surface.c:213