diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-11-11 14:37:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-11 14:37:17 +0000 |
| commit | 9be6fbf5eae8c4b902b818881a4dc34f87bb630d (patch) | |
| tree | a5d440cd8f5d57a659df670548263eba1cd93a0a /src/SharedDefs.hpp | |
| parent | 7345b1a1ea2671953df48c8a18524a7e556d383c (diff) | |
decorations: Decoration Positioner (#3800)
Diffstat (limited to 'src/SharedDefs.hpp')
| -rw-r--r-- | src/SharedDefs.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index fb99caaa..4e4217d2 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -39,7 +39,7 @@ struct SWindowDecorationExtents { return SWindowDecorationExtents{topLeft * scale, bottomRight * scale}; } - SWindowDecorationExtents floor() { - return {topLeft.floor(), bottomRight.floor()}; + SWindowDecorationExtents round() { + return {topLeft.round(), bottomRight.round()}; } };
\ No newline at end of file |
