diff options
author | Alexander Lobas <alexander-lobas@users.noreply.github.com> | 2023-04-14 17:22:40 +0300 |
---|---|---|
committer | Vitaly Provodin <vitaly.provodin@jetbrains.com> | 2023-11-08 07:01:12 +0700 |
commit | 27eaaae5917e75464911295fa84c109fcd0518cb (patch) | |
tree | f4b99f26a5b72494ffbc0bc49fb62185fa82055c | |
parent | 2ccdc6433d53595593a276385757b516b5c7471b (diff) | |
download | JetBrainsRuntime-27eaaae5917e75464911295fa84c109fcd0518cb.tar.gz |
JBR-5546 Iterating open windows with cmd backtick on Mac forces minimized windows to un-minimize
-rw-r--r-- | src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m b/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m index b4c73c1fceb..182b4e619ab 100644 --- a/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m +++ b/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m @@ -1863,7 +1863,7 @@ static const CGFloat DefaultHorizontalTitleBarButtonOffset = 20.0; nsWindow.styleMask & NSWindowStyleMaskFullScreen)]; // calls methods on NSWindow to change other properties, based on the mask [self setPropertiesForStyleBits:newBits mask:mask]; - if (!fullscreen) [self _deliverMoveResizeEvent]; + if (!fullscreen && !self.nsWindow.miniaturized) [self _deliverMoveResizeEvent]; if (enabled != (self.customTitleBarConstraints != nil)) { if (!fullscreen) { |