summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-18 16:00:21 -0500
committerJune McEnroe <june@causal.agency>2019-01-18 16:00:21 -0500
commitf9bd8c7dd50271e06d7440c720acae7ac44d2550 (patch)
treee1eb82f591803a50d89edfea2c20ed07c9640806
parentAdd Girlpool Tiny Desk Concert (diff)
downloadsrc-f9bd8c7dd50271e06d7440c720acae7ac44d2550.tar.gz
src-f9bd8c7dd50271e06d7440c720acae7ac44d2550.zip
Update gfx-cocoa constants for new macOS
Diffstat (limited to '')
-rw-r--r--bin/gfx-cocoa.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/gfx-cocoa.m b/bin/gfx-cocoa.m
index 7e7b7643..780efe68 100644
--- a/bin/gfx-cocoa.m
+++ b/bin/gfx-cocoa.m
@@ -139,10 +139,10 @@ int main(int argc, char *argv[]) {
 	[NSApp setMainMenu: [NSMenu new]];
 	[[NSApp mainMenu] addItem: menuItem];
 
-	NSUInteger style = NSTitledWindowMask
-		| NSClosableWindowMask
-		| NSMiniaturizableWindowMask
-		| NSResizableWindowMask;
+	NSUInteger style = NSWindowStyleMaskTitled
+		| NSWindowStyleMaskClosable
+		| NSWindowStyleMaskMiniaturizable
+		| NSWindowStyleMaskResizable;
 	NSWindow *window = [
 		[NSWindow alloc]
 		initWithContentRect: NSMakeRect(0, 0, 800, 600)
dd all target to git.causal.agency MakefileJune McEnroe 2021-01-20Remove Lua supportJune McEnroe 2021-01-20Fix tests for diff spansJune McEnroe 2021-01-20Avoid matching ':' in make tagsJune McEnroe 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe