aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lobas <alexander-lobas@users.noreply.github.com>2023-04-14 17:22:40 +0300
committerVitaly Provodin <vitaly.provodin@jetbrains.com>2023-11-08 07:01:12 +0700
commit27eaaae5917e75464911295fa84c109fcd0518cb (patch)
treef4b99f26a5b72494ffbc0bc49fb62185fa82055c
parent2ccdc6433d53595593a276385757b516b5c7471b (diff)
downloadJetBrainsRuntime-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.m2
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) {