From 91cbe93cf875c064847c76c6501d2a22c3f0abec Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 12 Nov 2023 13:01:23 +0000 Subject: decoration: add NON_SOLID flag for shadow fixes #3841 --- src/render/decorations/IHyprWindowDecoration.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/render/decorations/IHyprWindowDecoration.hpp') diff --git a/src/render/decorations/IHyprWindowDecoration.hpp b/src/render/decorations/IHyprWindowDecoration.hpp index 15890f44..c411a4d9 100644 --- a/src/render/decorations/IHyprWindowDecoration.hpp +++ b/src/render/decorations/IHyprWindowDecoration.hpp @@ -24,6 +24,7 @@ enum eDecorationFlags { DECORATION_ALLOWS_MOUSE_INPUT = 1 << 0, /* this decoration accepts mouse input */ DECORATION_PART_OF_MAIN_WINDOW = 1 << 1, /* this decoration is a *seamless* part of the main window, so stuff like shadows will include it */ + DECORATION_NON_SOLID = 1 << 2, /* this decoration is not solid. Other decorations should draw on top of it. Example: shadow */ }; class CWindow; -- cgit v1.2.3