mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-08 08:21:12 -04:00
view_get_geometry: only out width and height
This is the only thing we need, as we don't use a view's x and y coordinates for placing windows.
This commit is contained in:
parent
786e28bdac
commit
48f8f69556
3 changed files with 11 additions and 7 deletions
2
view.h
2
view.h
|
|
@ -32,7 +32,7 @@ struct cg_view {
|
|||
|
||||
void (*activate)(struct cg_view *view, bool activate);
|
||||
void (*maximize)(struct cg_view *view, int output_width, int output_height);
|
||||
void (*get_geometry)(struct cg_view *view, struct wlr_box *geom);
|
||||
void (*get_geometry)(struct cg_view *view, int *width_out, int *height_out);
|
||||
bool (*is_primary)(struct cg_view *view);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue