mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
disable support for simple fullscreen (#75054)
This commit is contained in:
@@ -869,16 +869,17 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
||||
}
|
||||
|
||||
private useNativeFullScreen(): boolean {
|
||||
const windowConfig = this.configurationService.getValue<IWindowSettings>('window');
|
||||
if (!windowConfig || typeof windowConfig.nativeFullScreen !== 'boolean') {
|
||||
return true; // default
|
||||
}
|
||||
return true;
|
||||
// const windowConfig = this.configurationService.getValue<IWindowSettings>('window');
|
||||
// if (!windowConfig || typeof windowConfig.nativeFullScreen !== 'boolean') {
|
||||
// return true; // default
|
||||
// }
|
||||
|
||||
if (windowConfig.nativeTabs) {
|
||||
return true; // https://github.com/electron/electron/issues/16142
|
||||
}
|
||||
// if (windowConfig.nativeTabs) {
|
||||
// return true; // https://github.com/electron/electron/issues/16142
|
||||
// }
|
||||
|
||||
return windowConfig.nativeFullScreen !== false;
|
||||
// return windowConfig.nativeFullScreen !== false;
|
||||
}
|
||||
|
||||
isMinimized(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user