summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authorAlvaro Parker <64918109+AlvaroParker@users.noreply.github.com>2025-11-05 21:06:31 -0300
committerGitHub <noreply@github.com>2025-11-06 00:06:31 +0000
commitc757fd375cce299e3da922190ddf1a0622ce807c (patch)
treef1908b8ca0e2c0ff29f3afb03862a7c5d2f1a26f /src/config/ConfigDescriptions.hpp
parent46b71eda6423cc9c3b19cb310c3344e81ac624c5 (diff)
compositor: block parent window interaction when modal dialog children window is open (#12057)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 9c503f0f..6b97c1c0 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -142,6 +142,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
+ SConfigOptionDescription{
+ .value = "general:modal_parent_blocking",
+ .description = "If true, parent windows of modals will not be interactive.",
+ .type = CONFIG_OPTION_BOOL,
+ .data = SConfigOptionDescription::SBoolData{true},
+ },
/*
* decoration: