Cocoa: Remove subclassing of NSApplication

This removes the GLFW NSApplication subclass as a step towards better
coexistence with other libraries that touch Cocoa.

This moves application object creation to platform init to allow event
processing before window creation.

Related to #1317.
This commit is contained in:
Camilla Löwy
2018-12-24 23:31:58 +01:00
committed by Camilla Löwy
parent f9923e9095
commit 88c5edb409
3 changed files with 67 additions and 91 deletions
+3 -1
View File
@@ -109,7 +109,9 @@ typedef struct _GLFWlibraryNS
TISInputSourceRef inputSource;
IOHIDManagerRef hidManager;
id unicodeData;
id listener;
id helper;
id keyUpMonitor;
id nibObjects;
char keyName[64];
short int keycodes[256];