mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
rootston: use int for width, height
This commit is contained in:
parent
fdb67ff63b
commit
d703ae45dd
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ void view_activate(struct roots_view *view, bool activate);
|
||||||
void view_apply_damage(struct roots_view *view);
|
void view_apply_damage(struct roots_view *view);
|
||||||
void view_damage_whole(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_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_update_decorated(struct roots_view *view, bool decorated);
|
||||||
void view_initial_focus(struct roots_view *view);
|
void view_initial_focus(struct roots_view *view);
|
||||||
void view_map(struct roots_view *view, struct wlr_surface *surface);
|
void view_map(struct roots_view *view, struct wlr_surface *surface);
|
||||||
|
|
|
@ -547,7 +547,7 @@ void view_update_position(struct roots_view *view, double x, double y) {
|
||||||
view_damage_whole(view);
|
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) {
|
if (view->width == width && view->height == height) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue