diff options
author | Alexander Lobas <alexander-lobas@users.noreply.github.com> | 2023-11-07 19:52:36 +0300 |
---|---|---|
committer | Vitaly Provodin <vitaly.provodin@jetbrains.com> | 2023-11-08 07:01:13 +0700 |
commit | 1d700b7d2f57f7213ab9c6455018fd84008e19a6 (patch) | |
tree | 77329c46228eae52b3678c62cac4b31764fa2627 | |
parent | 27eaaae5917e75464911295fa84c109fcd0518cb (diff) | |
download | JetBrainsRuntime-jb21.0.1-b280.11.tar.gz |
fixup! JBR-5124 Rewrite custom decorations supportjb21.0.1-b280.12jb21.0.1-b280.11
-rw-r--r-- | src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m | 10 |
1 files changed, 4 insertions, 6 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 182b4e619ab..eee22a2dad1 100644 --- a/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m +++ b/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m @@ -1419,18 +1419,16 @@ AWT_ASSERT_APPKIT_THREAD; if (self.isCustomTitleBarEnabled) { [self forceHideCustomTitleBarTitle:NO]; [self updateCustomTitleBarInsets:NO]; - } - [self allowMovingChildrenBetweenSpaces:NO]; - [self fullScreenTransitionFinished]; - if ([self isTransparentTitleBarEnabled]) { JNIEnv *env = [ThreadUtilities getJNIEnvUncached]; - NSString *newFullScreeControls = [PropertiesUtilities javaSystemPropertyForKey:@"apple.awt.newFullScreeControls" - withEnv:env]; + NSString *newFullScreeControls = [PropertiesUtilities + javaSystemPropertyForKey:@"apple.awt.newFullScreeControls" withEnv:env]; if ([@"true" isCaseInsensitiveLike:newFullScreeControls]) { [self setWindowFullScreeControls]; } } + [self allowMovingChildrenBetweenSpaces:NO]; + [self fullScreenTransitionFinished]; JNIEnv *env = [ThreadUtilities getJNIEnv]; GET_CPLATFORM_WINDOW_CLASS(); |