diyac/view.h

15 lines
774 B
C
Raw Normal View History

2024-04-01 15:38:57 +02:00
#ifndef DIYAC_VIEW_H
#define DIYAC_VIEW_H
#include "diyac.h"
void diyac_focus_view(struct diyac_view *toplevel, bool raise);
struct diyac_view *diyac_view_at(
struct diyac_server *server, double lx, double ly,
struct wlr_surface **surface, double *sx, double *sy);
2024-04-01 22:12:35 +02:00
void diyac_focus_topmost_view(struct diyac_server *server, bool raise);
2024-04-01 15:38:57 +02:00
struct diyac_view * diyac_topmost_focusable_view(struct diyac_server *server);
bool diyac_view_update_geometry(struct diyac_view *view, bool grabbed);
void diyac_arrange_all_views(struct diyac_server *server);
struct diyac_view *diyac_get_root_view(struct diyac_view *view);
void diyac_get_children_views(struct diyac_view *view, struct wl_array *children);
struct wlr_box diyac_view_get_geometry(struct diyac_view *view);
#endif