File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/platform/windows/electron-main Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ export class WindowsStateHandler extends Disposable {
181
181
if ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode === WindowMode . Fullscreen ) {
182
182
if ( displaysWithFullScreenWindow . has ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . display ) ) {
183
183
if ( isMacintosh && ! extensionHostWindow . win ?. isSimpleFullScreen ( ) ) {
184
- currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode = WindowMode . Maximized ;
184
+ currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode = WindowMode . Normal ;
185
185
}
186
186
} else {
187
187
displaysWithFullScreenWindow . add ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . display ) ;
@@ -201,7 +201,7 @@ export class WindowsStateHandler extends Disposable {
201
201
if ( windowState . uiState . mode === WindowMode . Fullscreen ) {
202
202
if ( displaysWithFullScreenWindow . has ( windowState . uiState . display ) ) {
203
203
if ( isMacintosh && windowState . windowId !== currentWindowsState . lastActiveWindow ?. windowId && ! window . win ?. isSimpleFullScreen ( ) ) {
204
- windowState . uiState . mode = WindowMode . Maximized ;
204
+ windowState . uiState . mode = WindowMode . Normal ;
205
205
}
206
206
} else {
207
207
displaysWithFullScreenWindow . add ( windowState . uiState . display ) ;
@@ -284,7 +284,7 @@ export class WindowsStateHandler extends Disposable {
284
284
}
285
285
286
286
if ( ! allowFullscreen ) {
287
- state . mode = WindowMode . Maximized ;
287
+ state . mode = WindowMode . Normal ;
288
288
}
289
289
}
290
290
You can’t perform that action at this time.
0 commit comments