mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Fix resize issues with some xdg-shell apps.
Also renames view_get_size to view_get_box to be more consistent with wlroots API and make it more obvious that x,y are set (while in roots_view.get_size this isn't the case). Fixes #407
This commit is contained in:
parent
698a172701
commit
eb89f1dcd2
4 changed files with 22 additions and 16 deletions
|
|
@ -94,7 +94,7 @@ struct roots_view {
|
|||
void (*close)(struct roots_view *view);
|
||||
};
|
||||
|
||||
void view_get_size(const struct roots_view *view, struct wlr_box *box);
|
||||
void view_get_box(const struct roots_view *view, struct wlr_box *box);
|
||||
void view_activate(struct roots_view *view, bool active);
|
||||
void view_move(struct roots_view *view, double x, double y);
|
||||
void view_resize(struct roots_view *view, uint32_t width, uint32_t height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue