config: Add a window rule to render while unfocused (#7582)

This commit is contained in:
Vaxry
2024-08-30 17:37:52 +02:00
committed by GitHub
parent fbd6354393
commit c5fd577181
8 changed files with 73 additions and 1 deletions

View File

@@ -1037,6 +1037,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
SConfigOptionDescription{
.value = "misc:render_unfocused_fps",
.description = "the maximum limit for renderunfocused windows' fps in the background",
.type = CONFIG_OPTION_INT,
.data = SConfigOptionDescription::SRangeData{15, 1, 120},
},
/*
* binds: