From 89b87158dbf100e4177f4a010190ba5f80252eb2 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Wed, 19 Jul 2023 20:09:49 +0200 Subject: internal: Wrap regions (#2750) --- src/helpers/WLClasses.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/helpers/WLClasses.hpp') 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 = ""; -- cgit v1.2.3