decoration: add NON_SOLID flag for shadow

fixes #3841
This commit is contained in:
Vaxry 2023-11-12 13:01:23 +00:00
parent 9afdd61ade
commit 91cbe93cf8
5 changed files with 32 additions and 15 deletions

View file

@ -9,12 +9,14 @@
class CWindow;
class IHyprWindowDecoration;
enum eDecorationPositioningPolicy {
DECORATION_POSITION_ABSOLUTE = 0, /* Decoration does not interfere with anything else */
enum eDecorationPositioningPolicy
{
DECORATION_POSITION_ABSOLUTE = 0, /* Decoration wants absolute positioning */
DECORATION_POSITION_STICKY, /* Decoration is stuck to some edge of a window */
};
enum eDecorationEdges {
enum eDecorationEdges
{
DECORATION_EDGE_TOP = 1 << 0,
DECORATION_EDGE_BOTTOM = 1 << 1,
DECORATION_EDGE_LEFT = 1 << 2,