From 4de3ad5d12b1c1ab40533f74dfcbee4788931be2 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Wed, 26 Aug 2020 09:47:04 -0700 Subject: [PATCH] Revert "Changed so the auxiliary windows are not floating panels; otherwise they're always in front of the main window, which is annoying." This reverts commit 0aa90418d6e7679c84c61cf7a25ef5037b64d09c. --- src/main-cocoa.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main-cocoa.m b/src/main-cocoa.m index 366edb6d1..151896658 100644 --- a/src/main-cocoa.m +++ b/src/main-cocoa.m @@ -2027,14 +2027,11 @@ static __strong NSFont* gDefaultFont = nil; */ if ((__bridge AngbandContext*) (angband_term[0]->data) != self) { - NSPanel *panel = + self.primaryWindow = [[NSPanel alloc] initWithContentRect:contentRect styleMask:(styleMask | NSClosableWindowMask | NSUtilityWindowMask) backing:NSBackingStoreBuffered defer:YES]; - - panel.floatingPanel = NO; - self.primaryWindow = panel; } else { self.primaryWindow = [[NSWindow alloc] initWithContentRect:contentRect -- 2.11.0