From a8347eb9ba9e09177da50592fde7f3ae7261ce59 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sun, 4 Dec 2016 22:52:14 +0100 Subject: cocoa: fullscreen refactoring this replaces the old fullscreen with the native macOS fullscreen. additional the --fs-black-out-screens was removed since the new API doesn't support it in a way the old one did. it can possibly be re-added if done manually. Fixes #2857 #3272 #1352 #2062 #3864 --- osdep/macosx_compat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'osdep') diff --git a/osdep/macosx_compat.h b/osdep/macosx_compat.h index 76308c6f98..9ef422be2f 100644 --- a/osdep/macosx_compat.h +++ b/osdep/macosx_compat.h @@ -31,6 +31,7 @@ static const NSWindowStyleMask NSWindowStyleMaskTitled = NSTitledWindowMask; static const NSWindowStyleMask NSWindowStyleMaskMiniaturizable = NSMiniaturizableWindowMask; static const NSWindowStyleMask NSWindowStyleMaskResizable = NSResizableWindowMask; static const NSWindowStyleMask NSWindowStyleMaskBorderless = NSBorderlessWindowMask; +static const NSWindowStyleMask NSWindowStyleMaskFullScreen = NSFullScreenWindowMask; static const NSEventType NSEventTypeSystemDefined = NSSystemDefined; static const NSEventType NSEventTypeKeyDown = NSKeyDown; -- cgit v1.2.3