compositor: block parent window interaction when modal dialog children window is open (#12057)
This commit is contained in:
parent
46b71eda64
commit
c757fd375c
3 changed files with 32 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -484,6 +484,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("general:col.inactive_border", Hyprlang::CConfigCustomValueType{&configHandleGradientSet, configHandleGradientDestroy, "0xff444444"});
|
||||
registerConfigVar("general:col.nogroup_border", Hyprlang::CConfigCustomValueType{&configHandleGradientSet, configHandleGradientDestroy, "0xffffaaff"});
|
||||
registerConfigVar("general:col.nogroup_border_active", Hyprlang::CConfigCustomValueType{&configHandleGradientSet, configHandleGradientDestroy, "0xffff00ff"});
|
||||
registerConfigVar("general:modal_parent_blocking", Hyprlang::INT{1});
|
||||
|
||||
registerConfigVar("misc:disable_hyprland_logo", Hyprlang::INT{0});
|
||||
registerConfigVar("misc:disable_splash_rendering", Hyprlang::INT{0});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue