From 8ae1fd01730ebd8382d850d1d5526fee0fb076f1 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:34:13 +0000 Subject: added layer rules --- src/helpers/WLClasses.hpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/helpers') diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index af070c78..41f7b6a7 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -7,6 +7,11 @@ #include "SubsurfaceTree.hpp" #include "AnimatedVariable.hpp" +struct SLayerRule { + std::string targetNamespace = ""; + std::string rule = ""; +}; + struct SLayerSurface { SLayerSurface(); @@ -33,6 +38,7 @@ struct SLayerSurface { bool fadingOut = false; bool readyToDelete = false; bool noProcess = false; + bool noAnimations = false; bool forceBlur = false; @@ -45,9 +51,9 @@ struct SLayerSurface { class CMonitor; struct SRenderData { - CMonitor* pMonitor; - timespec* when; - int x, y; + CMonitor* pMonitor; + timespec* when; + int x, y; // for iters void* data = nullptr; @@ -224,7 +230,7 @@ struct STablet { std::string name = ""; bool operator==(const STablet& b) { - return wlrDevice == b.wlrDevice; + return wlrDevice == b.wlrDevice; } }; -- cgit v1.2.3