mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
Fix type in wlr_surface_get_extends
This commit is contained in:
parent
84c09152af
commit
7b07b3f95d
1 changed files with 1 additions and 1 deletions
|
@ -1063,7 +1063,7 @@ static void handle_bounding_box_surface(struct wlr_surface *surface,
|
||||||
struct bound_acc *acc = data;
|
struct bound_acc *acc = data;
|
||||||
|
|
||||||
acc->min_x = min(x, acc->min_x);
|
acc->min_x = min(x, acc->min_x);
|
||||||
acc->min_y = min(x, acc->min_y);
|
acc->min_y = min(y, acc->min_y);
|
||||||
|
|
||||||
acc->max_x = max(x + surface->current->width, acc->max_x);
|
acc->max_x = max(x + surface->current->width, acc->max_x);
|
||||||
acc->max_y = max(y + surface->current->height, acc->max_y);
|
acc->max_y = max(y + surface->current->height, acc->max_y);
|
||||||
|
|
Loading…
Reference in a new issue