Files
absinthe/include/absinthe-toplevel.h
T
2026-04-06 23:38:06 +07:00

14 lines
789 B
C

#include "types.h"
bool absinthe_toplevel_is_x11(struct absinthe_toplevel *toplevel);
bool absinthe_toplevel_is_unmanaged(struct absinthe_toplevel *toplevel);
struct absinthe_toplevel *absinthe_toplevel_at(struct absinthe_server *server, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy);
void absinthe_toplevel_set_position(struct absinthe_toplevel *toplevel, int32_t x, int32_t y);
void absinthe_toplevel_set_size(struct absinthe_toplevel *toplevel, int32_t width, int32_t height);
void absinthe_toplevel_set_fullscreen(struct absinthe_toplevel *toplevel, bool fullscreen);
void absinthe_toplevel_set_border_color(struct absinthe_toplevel *toplevel, const float color[4]);
void absinthe_toplevel_update_borders_geometry(struct absinthe_toplevel *toplevel);