Fix least overlap to fall back to the chosen monitor, not (0,0).
This commit is contained in:
parent
53b8c86a60
commit
e6a5acaf1b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ void place_overlap_find_least_placement(const Rect* client_rects,
|
|||
const Size* req_size,
|
||||
Point* result)
|
||||
{
|
||||
POINT_SET(*result, 0, 0);
|
||||
POINT_SET(*result, bound->x, bound->y);
|
||||
int overlap = G_MAXINT;
|
||||
int max_edges = 2 * (n_client_rects + 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue