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 {
181181 if ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode === WindowMode . Fullscreen ) {
182182 if ( displaysWithFullScreenWindow . has ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . display ) ) {
183183 if ( isMacintosh && ! extensionHostWindow . win ?. isSimpleFullScreen ( ) ) {
184- currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode = WindowMode . Maximized ;
184+ currentWindowsState . lastPluginDevelopmentHostWindow . uiState . mode = WindowMode . Normal ;
185185 }
186186 } else {
187187 displaysWithFullScreenWindow . add ( currentWindowsState . lastPluginDevelopmentHostWindow . uiState . display ) ;
@@ -201,7 +201,7 @@ export class WindowsStateHandler extends Disposable {
201201 if ( windowState . uiState . mode === WindowMode . Fullscreen ) {
202202 if ( displaysWithFullScreenWindow . has ( windowState . uiState . display ) ) {
203203 if ( isMacintosh && windowState . windowId !== currentWindowsState . lastActiveWindow ?. windowId && ! window . win ?. isSimpleFullScreen ( ) ) {
204- windowState . uiState . mode = WindowMode . Maximized ;
204+ windowState . uiState . mode = WindowMode . Normal ;
205205 }
206206 } else {
207207 displaysWithFullScreenWindow . add ( windowState . uiState . display ) ;
@@ -284,7 +284,7 @@ export class WindowsStateHandler extends Disposable {
284284 }
285285
286286 if ( ! allowFullscreen ) {
287- state . mode = WindowMode . Maximized ;
287+ state . mode = WindowMode . Normal ;
288288 }
289289 }
290290
You can’t perform that action at this time.
0 commit comments