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/helpers/Region.hpp | |
| parent | 7345b1a1ea2671953df48c8a18524a7e556d383c (diff) | |
decorations: Decoration Positioner (#3800)
Diffstat (limited to 'src/helpers/Region.hpp')
| -rw-r--r-- | src/helpers/Region.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helpers/Region.hpp b/src/helpers/Region.hpp index 80153cff..1c6923df 100644 --- a/src/helpers/Region.hpp +++ b/src/helpers/Region.hpp @@ -17,7 +17,7 @@ class CRegion { /* Create from a wlr_box */ CRegion(wlr_box* box); /* Create from a CBox */ - CRegion(CBox* box); + CRegion(const CBox& box); /* Create from a pixman_box32_t */ CRegion(pixman_box32_t* box); @@ -40,6 +40,7 @@ class CRegion { CRegion& set(const CRegion& other); CRegion& add(const CRegion& other); CRegion& add(double x, double y, double w, double h); + CRegion& add(const CBox& other); CRegion& subtract(const CRegion& other); CRegion& intersect(const CRegion& other); CRegion& intersect(double x, double y, double w, double h); |
