config: add dim_modal

fixes #11486
This commit is contained in:
vaxerski
2025-08-21 14:59:20 +02:00
parent 1ac1ff457a
commit 50a242f16a
3 changed files with 9 additions and 1 deletions

View File

@@ -231,6 +231,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_FLOAT,
.data = SConfigOptionDescription::SFloatData{1, 0, 1},
},
SConfigOptionDescription{
.value = "decoration:dim_modal",
.description = "enables dimming of parents of modal windows",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
SConfigOptionDescription{
.value = "decoration:dim_inactive",
.description = "enables dimming of inactive windows",