From ae6318cb5a541e69d7db99926668f22be95cd3dc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Nov 2021 04:58:53 +0530 Subject: [PATCH] Forgot to add definitions of the notification constants for old SDKs --- kitty/cocoa_window.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/cocoa_window.m b/kitty/cocoa_window.m index e046ca483..80744d3d2 100644 --- a/kitty/cocoa_window.m +++ b/kitty/cocoa_window.m @@ -25,6 +25,10 @@ #define NSEventModifierFlagCommand NSCommandKeyMask #define NSEventModifierFlagControl NSControlKeyMask #endif +#if (MAC_OS_X_VERSION_MAX_ALLOWED < 110000) +#define UNNotificationPresentationOptionList (1 << 3) +#define UNNotificationPresentationOptionBanner (1 << 4) +#endif typedef int CGSConnectionID; typedef int CGSWindowID;