summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2025-07-26 10:48:39 -0400
committerGitHub <noreply@github.com>2025-07-26 10:48:39 -0400
commitb4fbaf233f6e190001cb40f4f0cc87cc5365e622 (patch)
treed240de1320d880e9955a589e93728ec29043d462 /src
parentc6ae060757a2f19f60681639b4f73a6bd075f5d7 (diff)
parent7950c2c227c387b0063c52db575eb493ad992e30 (diff)
downloaddecky-lsfg-vk-b4fbaf233f6e190001cb40f4f0cc87cc5365e622.tar.gz
decky-lsfg-vk-b4fbaf233f6e190001cb40f4f0cc87cc5365e622.zip
Merge pull request #94 from xXJSONDeruloXx/default-wsiv0.7.3
feat: Default wsi disable toggle on and bump to top of workarounds drawer
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx18
-rw-r--r--src/config/generatedConfigSchema.ts4
2 files changed, 11 insertions, 11 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 57c75ad..c1fcf25 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -161,6 +161,15 @@ export function ConfigurationSection({
{!workaroundsCollapsed && (
<>
+ <PanelSectionRow>
+ <ToggleField
+ label="Deactivate WSI"
+ description="Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth"
+ checked={config.deactivate_wsi}
+ onChange={(value) => onConfigChange(DEACTIVATE_WSI, value)}
+ />
+ </PanelSectionRow>
+
<PanelSectionRow>
<ToggleField
label="Enable WOW64 for 32-bit games"
@@ -219,15 +228,6 @@ export function ConfigurationSection({
}}
/>
</PanelSectionRow>
-
- <PanelSectionRow>
- <ToggleField
- label="Deactivate WSI"
- description="Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth"
- checked={config.deactivate_wsi}
- onChange={(value) => onConfigChange(DEACTIVATE_WSI, value)}
- />
- </PanelSectionRow>
</>
)}
</>
diff --git a/src/config/generatedConfigSchema.ts b/src/config/generatedConfigSchema.ts
index 1ce08f4..dfd80db 100644
--- a/src/config/generatedConfigSchema.ts
+++ b/src/config/generatedConfigSchema.ts
@@ -107,7 +107,7 @@ export const CONFIG_SCHEMA: Record<string, ConfigField> = {
deactivate_wsi: {
name: "deactivate_wsi",
fieldType: ConfigFieldType.BOOLEAN,
- default: false,
+ default: true,
description: "Deactivates Gamescope WSI Layer, use with HDR off, workaround if frame generation isn't applying or isn't feeling smooth"
},
};
@@ -148,7 +148,7 @@ export function getDefaults(): ConfigurationData {
mangohud_workaround: false,
disable_vkbasalt: false,
force_enable_vkbasalt: false,
- deactivate_wsi: false,
+ deactivate_wsi: true,
};
}