From cbb899740cd80dfd29afeb5426c60e6b41a23669 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 9 Aug 2023 22:03:24 +0200 Subject: rules: add layer and window xray rules --- 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 18e223b6..e43a00ff 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -50,6 +50,7 @@ struct SLayerSurface { bool noAnimations = false; bool forceBlur = false; + int xray = -1; bool ignoreAlpha = false; float ignoreAlphaValue = 0.f; @@ -242,7 +243,7 @@ struct STablet { std::string name = ""; bool operator==(const STablet& b) const { - return wlrDevice == b.wlrDevice; + return wlrDevice == b.wlrDevice; } }; -- cgit v1.2.3