diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-12-06 07:30:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 07:30:19 -0500 |
commit | 8cb4df2a30e26c7d173d740eba36a3cd78a578b1 (patch) | |
tree | 27d6b9876735658d3d20e2899e050e2b9f21cb07 /include/rootston/desktop.h | |
parent | e539a8b2081f458ea2d272654b3074390920510e (diff) | |
parent | 0f3a061f602a1384d7e0778ecd090519e0cb2b30 (diff) |
Merge pull request #1416 from kragniz/rootston-use-box
rootston: use box for views position
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r-- | include/rootston/desktop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 31338acf..cd85e794 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -99,8 +99,8 @@ void view_destroy(struct roots_view *view); void view_activate(struct roots_view *view, bool activate); void view_apply_damage(struct roots_view *view); void view_damage_whole(struct roots_view *view); -void view_update_position(struct roots_view *view, double x, double y); -void view_update_size(struct roots_view *view, uint32_t width, uint32_t height); +void view_update_position(struct roots_view *view, int x, int y); +void view_update_size(struct roots_view *view, int width, int height); void view_update_decorated(struct roots_view *view, bool decorated); void view_initial_focus(struct roots_view *view); void view_map(struct roots_view *view, struct wlr_surface *surface); |