summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-25 15:34:13 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-01-25 15:34:13 +0000
commit8ae1fd01730ebd8382d850d1d5526fee0fb076f1 (patch)
tree04db54c3ef3cc62cc2a29b501329f1d127770252 /src/helpers
parent9813ba2f567a2e489b95bf15168cdcd26a31bec9 (diff)
added layer rules
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp14
1 files changed, 10 insertions, 4 deletions
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;
}
};