Last active
September 23, 2017 14:26
-
-
Save aaronjensen/c7bf2c0d2cf754c65984ee2fa168f911 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nsterm.m b/src/nsterm.m | |
index a41d6be204..b433092d24 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -7207,9 +7207,9 @@ - (instancetype) initFrameFromEmacs: (struct frame *)f | |
win = [[EmacsWindow alloc] | |
initWithContentRect: r | |
- styleMask: (FRAME_UNDECORATED (f) | |
+ styleMask: ((FRAME_UNDECORATED (f) | |
? FRAME_UNDECORATED_FLAGS | |
- : FRAME_DECORATED_FLAGS | |
+ : FRAME_DECORATED_FLAGS) | |
#ifdef NS_IMPL_COCOA | |
| NSWindowStyleMaskResizable | |
| NSWindowStyleMaskMiniaturizable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment