diff options
author | Louis Taylor <louis@kragniz.eu> | 2018-12-05 08:58:51 +0000 |
---|---|---|
committer | Louis Taylor <louis@kragniz.eu> | 2018-12-05 09:02:49 +0000 |
commit | d703ae45dde73053767ccbb3c0c3d66f2b98fd11 (patch) | |
tree | 8f005b46d0632644bdc3a6c130b7b7b91ea5a36f | |
parent | fdb67ff63bdb301ee202a128c0b8cb616736707d (diff) | |
download | wlroots-d703ae45dde73053767ccbb3c0c3d66f2b98fd11.tar.xz |
rootston: use int for width, height
-rw-r--r-- | include/rootston/desktop.h | 2 | ||||
-rw-r--r-- | rootston/desktop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 31338acf..4c031e4c 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -100,7 +100,7 @@ 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_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); diff --git a/rootston/desktop.c b/rootston/desktop.c index 9b5291a3..c894dbb1 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -547,7 +547,7 @@ void view_update_position(struct roots_view *view, double x, double y) { view_damage_whole(view); } -void view_update_size(struct roots_view *view, uint32_t width, uint32_t height) { +void view_update_size(struct roots_view *view, int width, int height) { if (view->width == width && view->height == height) { return; } |