LS: add blur and ignorezero rules

This commit is contained in:
vaxerski
2023-03-17 23:16:13 +00:00
parent 91a565c7b0
commit e5870d47c7
9 changed files with 61 additions and 18 deletions

View File

@@ -15,6 +15,8 @@ struct SLayerRule {
struct SLayerSurface {
SLayerSurface();
void applyRules();
wlr_layer_surface_v1* layerSurface;
wl_list link;
@@ -40,7 +42,8 @@ struct SLayerSurface {
bool noProcess = false;
bool noAnimations = false;
bool forceBlur = false;
bool forceBlur = false;
bool ignoreZero = false;
// For the list lookup
bool operator==(const SLayerSurface& rhs) const {