summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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,
};
}