Unverified Commit f63103ed authored by Pavel's avatar Pavel Committed by GitHub

disable titlebar synchronously (#223)

parent f3db482e
......@@ -181,7 +181,7 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_PlatformOperationsKt_osxDisableT
{
NSWindow* window = findWindow(platformInfoPtr);
if (window == nil) return;
dispatch_async(dispatch_get_main_queue(), ^{
dispatch_sync(dispatch_get_main_queue(), ^{
[window setTitlebarAppearsTransparent:YES];
[window setTitleVisibility:NSWindowTitleHidden];
[window setStyleMask:[window styleMask]|NSWindowStyleMaskFullSizeContentView];
......
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