decoration: bring back border_part_of_window

fixes #9683, now under decoration: though
This commit is contained in:
Vaxry 2025-03-24 23:57:23 +00:00
parent 2a6d070774
commit f3db1b172c
3 changed files with 10 additions and 1 deletions

View file

@ -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() {