upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/main.cpp')
-rw-r--r--runtime/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp
index d386de0cd..094aaa321 100644
--- a/runtime/src/main.cpp
+++ b/runtime/src/main.cpp
@@ -197,7 +197,9 @@ bool configure_first_run_ui(const std::filesystem::path& package, std::filesyste
197 {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"}, 197 {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"},
198 {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"}, 198 {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"},
199 {L"LEONIDA_FRAME_PACING", L"1"}, 199 {L"LEONIDA_FRAME_PACING", L"1"},
200 {L"LEONIDA_KEYBOARD_PAD", L"always"}, 200 // Focused, not always: keys typed into another window must not press anything on a consent page.
201 // Scripted presses (LEONIDA_INPUT_SCRIPT) still run while the window is unfocused.
202 {L"LEONIDA_KEYBOARD_PAD", L"1"},
201 }; 203 };
202 for (const auto& setting : settings) { 204 for (const auto& setting : settings) {
203 if (!set_default(setting.name, setting.value)) return false; 205 if (!set_default(setting.name, setting.value)) return false;