compositor: block parent window interaction when modal dialog children window is open (#12057)

This commit is contained in:
Alvaro Parker 2025-11-05 21:06:31 -03:00 committed by GitHub
parent 46b71eda64
commit c757fd375c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 13 deletions

View file

@ -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: