Skip to content

Instantly share code, notes, and snippets.

@aaronjensen
Last active September 23, 2017 14:26
Show Gist options
  • Save aaronjensen/c7bf2c0d2cf754c65984ee2fa168f911 to your computer and use it in GitHub Desktop.
Save aaronjensen/c7bf2c0d2cf754c65984ee2fa168f911 to your computer and use it in GitHub Desktop.
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