diff options
Diffstat (limited to 'src/SharedDefs.hpp')
| -rw-r--r-- | src/SharedDefs.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index 4e4217d2..19d26b61 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -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; + } };
\ No newline at end of file |
