diff options
author | emersion <contact@emersion.fr> | 2018-06-01 15:45:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-01 15:45:02 +0100 |
commit | d3670dfeff43cbde98fae47fdb60ef223ce8c220 (patch) | |
tree | 749e4c03748280ff66011a9efc5978bec02ef624 | |
parent | 84c09152aff771d3de899594b6590ce2db173025 (diff) | |
parent | 7b07b3f95dcfecf702db3b4fbec611640952f9c1 (diff) |
Merge pull request #1022 from Ongy/master
Fix type in wlr_surface_get_extends
-rw-r--r-- | types/wlr_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_surface.c b/types/wlr_surface.c index 6df66f2c..22026af8 100644 --- a/types/wlr_surface.c +++ b/types/wlr_surface.c @@ -1063,7 +1063,7 @@ static void handle_bounding_box_surface(struct wlr_surface *surface, struct bound_acc *acc = data; 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_y = max(y + surface->current->height, acc->max_y); |