macOS 10.11 Quartz patch: gdkdisplaylinksource: use GDK_QUARTZ_APPLICATION_DEFINED, rather than NSEventTypeApplicationDefined
Patch to fix Quartz builds for macOS 10.11 and earlier; similar to the previous change for file gdk/quartz/gdkeventloop-quartz.c
:
Fix Cocoa style and event constants for MacOS X 10.12 and later
This is a quick-and-dirty fix, made directly to the source file. But if it would be preferable to move the definition of GDK_QUARTZ_APPLICATION_DEFINED
to a shared header instead, let me know!
Of note, this patch is what we're currently using in MacPorts.
Edited by Christopher Nielsen