diff options
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/decorations/CHyprBorderDecoration.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/decorations/CHyprBorderDecoration.cpp b/src/render/decorations/CHyprBorderDecoration.cpp index 0d07c2ea..7ff1ee10 100644 --- a/src/render/decorations/CHyprBorderDecoration.cpp +++ b/src/render/decorations/CHyprBorderDecoration.cpp @@ -147,7 +147,9 @@ eDecorationLayer CHyprBorderDecoration::getDecorationLayer() { } uint64_t CHyprBorderDecoration::getDecorationFlags() { - return !doesntWantBorders() ? DECORATION_PART_OF_MAIN_WINDOW : 0; + static auto PPARTOFWINDOW = CConfigValue<Hyprlang::INT>("decoration:border_part_of_window"); + + return *PPARTOFWINDOW && !doesntWantBorders() ? DECORATION_PART_OF_MAIN_WINDOW : 0; } std::string CHyprBorderDecoration::getDisplayName() { |
