mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 09:51:38 -05:00
Fix ordering of overlapping rectangles
This commit is contained in:
parent
fff172e5ca
commit
05df448ed8
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ int rect_cmp(xcb_rectangle_t r1, xcb_rectangle_t r2)
|
|||
} else if (r2.x >= (r1.x + r1.width)) {
|
||||
return -1;
|
||||
} else {
|
||||
return area(r1) - area(r2);
|
||||
return area(r2) - area(r1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue