diff options
author | emersion <contact@emersion.fr> | 2017-11-11 15:39:15 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-11 15:39:15 +0100 |
commit | eb89f1dcd2dd820bc86ae0350774aff4d81408e8 (patch) | |
tree | 7ff7ee99b3818cd029cfa57218167e7461afa11b /include | |
parent | 698a172701e15283652d813c8f47122be3164dd5 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index f0d102cd..99b4ed78 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -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); |