Created
June 7, 2018 17:12
-
-
Save d12frosted/70ae08838a264289288f5c17867963e5 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
From 2724d26e5f6cc8bfa9c9ca86d35e3df396bcd2ba Mon Sep 17 00:00:00 2001 | |
From: Boris Buliga <[email protected]> | |
Date: Thu, 7 Jun 2018 20:11:34 +0300 | |
Subject: [PATCH] allow to resize undecorated frame | |
--- | |
src/nsterm.m | 10 +++++----- | |
1 file changed, 5 insertions(+), 5 deletions(-) | |
diff --git a/src/nsterm.m b/src/nsterm.m | |
index c8ae31abc0..c5c46d0000 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -425,11 +425,11 @@ - (NSColor *)colorUsingDefaultColorSpace | |
/* These flags will be OR'd or XOR'd with the NSWindow's styleMask | |
property depending on what we're doing. */ | |
-#define FRAME_DECORATED_FLAGS (NSWindowStyleMaskTitled \ | |
- | NSWindowStyleMaskResizable \ | |
- | NSWindowStyleMaskMiniaturizable \ | |
- | NSWindowStyleMaskClosable) | |
-#define FRAME_UNDECORATED_FLAGS NSWindowStyleMaskBorderless | |
+#define FRAME_UNDECORATED_FLAGS (NSWindowStyleMaskTitled \ | |
+ | NSWindowStyleMaskResizable \ | |
+ | NSWindowStyleMaskMiniaturizable \ | |
+ | NSWindowStyleMaskClosable) | |
+#define FRAME_DECORATED_FLAGS NSWindowStyleMaskBorderless | |
/* TODO: get rid of need for these forward declarations */ | |
static void ns_condemn_scroll_bars (struct frame *f); | |
-- | |
2.17.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment