decoration-positioner: improve extent handling
This commit is contained in:
parent
c5d1faf72d
commit
bea828ea45
6 changed files with 60 additions and 17 deletions
|
|
@ -42,4 +42,8 @@ struct SWindowDecorationExtents {
|
|||
SWindowDecorationExtents round() {
|
||||
return {topLeft.round(), bottomRight.round()};
|
||||
}
|
||||
|
||||
bool operator==(const SWindowDecorationExtents& other) const {
|
||||
return topLeft == other.topLeft && bottomRight == other.bottomRight;
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue