mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-16 06:59:49 -05:00
view: adjust position according to declared top left corner
This commit is contained in:
parent
560e9ff3ef
commit
44fb937f8e
4 changed files with 22 additions and 18 deletions
2
view.h
2
view.h
|
|
@ -37,7 +37,7 @@ struct cg_view {
|
|||
|
||||
struct cg_view_impl {
|
||||
char *(*get_title)(struct cg_view *view);
|
||||
void (*get_geometry)(struct cg_view *view, int *width_out, int *height_out);
|
||||
void (*get_geometry)(struct cg_view *view, struct wlr_box *view_box);
|
||||
bool (*is_primary)(struct cg_view *view);
|
||||
bool (*is_transient_for)(struct cg_view *child, struct cg_view *parent);
|
||||
void (*activate)(struct cg_view *view, bool activate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue