renderer: add render:send_content_type setting (#9851)
This commit is contained in:
parent
49974d5e34
commit
ae1fe860ff
3 changed files with 15 additions and 5 deletions
|
|
@ -1444,6 +1444,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{true},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "render:send_content_type",
|
||||
.description = "Report content type to allow monitor profile autoswitch (may result in a black screen during the switch)",
|
||||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{true},
|
||||
},
|
||||
|
||||
/*
|
||||
* cursor:
|
||||
|
|
|
|||
|
|
@ -739,6 +739,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("render:ctm_animation", Hyprlang::INT{2});
|
||||
registerConfigVar("render:cm_fs_passthrough", Hyprlang::INT{2});
|
||||
registerConfigVar("render:cm_enabled", Hyprlang::INT{1});
|
||||
registerConfigVar("render:send_content_type", Hyprlang::INT{1});
|
||||
|
||||
registerConfigVar("ecosystem:no_update_news", Hyprlang::INT{0});
|
||||
registerConfigVar("ecosystem:no_donation_nag", Hyprlang::INT{0});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue