summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2023-07-19 20:09:49 +0200
committerGitHub <noreply@github.com>2023-07-19 20:09:49 +0200
commit89b87158dbf100e4177f4a010190ba5f80252eb2 (patch)
treecacff8d4257c0e4a1f95937c969075df0b07c280 /src/helpers/WLClasses.hpp
parentce9896204a2ab1eb4f8960d44b876cbc9d0955ac (diff)
internal: Wrap regions (#2750)
Diffstat (limited to 'src/helpers/WLClasses.hpp')
-rw-r--r--src/helpers/WLClasses.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index b7cd6e34..18e223b6 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -7,6 +7,7 @@
#include "SubsurfaceTree.hpp"
#include "AnimatedVariable.hpp"
#include "WLSurface.hpp"
+#include "Region.hpp"
struct SLayerRule {
std::string targetNamespace = "";
@@ -144,7 +145,7 @@ struct SMouse {
wlr_pointer_constraint_v1* currentConstraint = nullptr;
bool constraintActive = false;
- pixman_region32_t confinedTo;
+ CRegion confinedTo;
std::string name = "";