diff options
| author | François Conzelmann <45296195+zephvr@users.noreply.github.com> | 2023-12-06 23:54:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 22:54:56 +0000 |
| commit | 4a42344e9748d2b44c55798ddc3fa41448533c4e (patch) | |
| tree | f8a06c575a650be05d629555f4e127115dffe470 /src/render/decorations/IHyprWindowDecoration.hpp | |
| parent | 5489f9f07a73c6b5b97702731a5092463a01fb5b (diff) | |
style/ci: apply clang-format and verify it in ci (#4039)
* style: apply clang-format
* ci: add new clang-format job to CI
Diffstat (limited to 'src/render/decorations/IHyprWindowDecoration.hpp')
| -rw-r--r-- | src/render/decorations/IHyprWindowDecoration.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/render/decorations/IHyprWindowDecoration.hpp b/src/render/decorations/IHyprWindowDecoration.hpp index c411a4d9..15b00536 100644 --- a/src/render/decorations/IHyprWindowDecoration.hpp +++ b/src/render/decorations/IHyprWindowDecoration.hpp @@ -4,24 +4,21 @@ #include "../../helpers/Region.hpp" #include "DecorationPositioner.hpp" -enum eDecorationType -{ +enum eDecorationType { DECORATION_NONE = -1, DECORATION_GROUPBAR, DECORATION_SHADOW, DECORATION_CUSTOM }; -enum eDecorationLayer -{ +enum eDecorationLayer { DECORATION_LAYER_BOTTOM = 0, /* lowest. */ DECORATION_LAYER_UNDER, /* under the window, but above BOTTOM */ DECORATION_LAYER_OVER, /* above the window, but below its popups */ DECORATION_LAYER_OVERLAY /* above everything of the window, including popups */ }; -enum eDecorationFlags -{ +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 */ |
