Unverified Commit 1239ae22 authored by Pavel's avatar Pavel Committed by GitHub

tune `disableTitleBar` (#265)

`[window setMovable:NO]` breaks window positioning when display configuration changed
parent aa7ae5bb
......@@ -185,9 +185,6 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_PlatformOperationsKt_osxDisableT
[window setTitlebarAppearsTransparent:YES];
[window setTitleVisibility:NSWindowTitleHidden];
[window setStyleMask:[window styleMask]|NSWindowStyleMaskFullSizeContentView];
// always show `fullscreen` green traffic light button instead of `maximize/zoom` button
[window setCollectionBehavior:[window collectionBehavior]|NSWindowCollectionBehaviorFullScreenPrimary];
[window setMovable:NO];
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment