From 79696225c7dc4db985f2cc84e949a93bd30a79e1 Mon Sep 17 00:00:00 2001 From: mstr2 <43553916+mstr2@users.noreply.github.com> Date: Sun, 20 Oct 2024 03:19:58 +0200 Subject: [PATCH] revert unintended change --- modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m b/modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m index b7425c75d36..5b37d31e210 100644 --- a/modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m +++ b/modules/javafx.graphics/src/main/native-glass/ios/GlassWindow.m @@ -816,7 +816,7 @@ jlong _1createWindow(JNIEnv *env, jobject jWindow, jlong jOwnerPtr, jlong jScree BOOL hidden = YES; if (jOwnerPtr == 0L) { // no owner means it is the primary stage; Decorated primary stage shows status bar by default - hidden = ((jStyleMask & com_sun_glass_ui_Window_DECORATED) == 0); + hidden = ((jStyleMask & com_sun_glass_ui_Window_TITLED) == 0); NSObject * values = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UIStatusBarHidden"]; //we prefer explicit settings from .plist