From adc6f7786f4f0973cafbb0ff0f9cf4fb6bfdf360 Mon Sep 17 00:00:00 2001 From: VinaCC <21315274+EngineLessCC@users.noreply.github.com> Date: Thu, 13 Oct 2022 21:25:34 +0200 Subject: [PATCH] Fixes #2 --- src/vs/platform/window/common/window.ts | 2 +- src/vs/workbench/electron-sandbox/desktop.contribution.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/platform/window/common/window.ts b/src/vs/platform/window/common/window.ts index 3a7393455eeb6..926928a535b7a 100644 --- a/src/vs/platform/window/common/window.ts +++ b/src/vs/platform/window/common/window.ts @@ -177,7 +177,7 @@ export function useWindowControlsOverlay(configurationService: IConfigurationSer return configuredUseWindowControlsOverlay; } - return false; // disable by default + return true; // ! vivya: ~~disable~~ enable by default } export interface IPath extends IPathData { diff --git a/src/vs/workbench/electron-sandbox/desktop.contribution.ts b/src/vs/workbench/electron-sandbox/desktop.contribution.ts index 42dec33990d3f..8c808b3b655b2 100644 --- a/src/vs/workbench/electron-sandbox/desktop.contribution.ts +++ b/src/vs/workbench/electron-sandbox/desktop.contribution.ts @@ -215,7 +215,7 @@ import product from 'vs/platform/product/common/product'; 'window.dialogStyle': { 'type': 'string', 'enum': ['native', 'custom'], - 'default': 'native', + 'default': 'custom', 'scope': ConfigurationScope.APPLICATION, 'description': localize('dialogStyle', "Adjust the appearance of dialog windows.") }, @@ -243,7 +243,7 @@ import product from 'vs/platform/product/common/product'; 'window.experimental.useSandbox': { // TODO@bpasero remove me once sandbox is final type: 'boolean', description: localize('experimentalUseSandbox', "Experimental: When enabled, the window will have sandbox mode enabled via Electron API."), - default: typeof product.quality === 'string' && product.quality !== 'stable', // disabled by default in stable for now + default: true, // disabled by default in stable for now 'scope': ConfigurationScope.APPLICATION, ignoreSync: true },