mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
macOS 15: Handle Fn modifier when detecting global shortcuts
Fixes #7582
This commit is contained in:
@@ -82,6 +82,8 @@ Detailed list of changes
|
||||
|
||||
- macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it (:iss:`7525`)
|
||||
|
||||
- macOS 15: Handle Fn modifier when detecting global shortcuts (:iss:`7582`)
|
||||
|
||||
|
||||
0.35.2 [2024-06-22]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -579,7 +579,7 @@ is_shiftable_shortcut(int scv) {
|
||||
return scv == kSHKMoveFocusToActiveOrNextWindow || scv == kSHKMoveFocusToNextWindow;
|
||||
}
|
||||
|
||||
#define USEFUL_MODS(x) (x & (NSEventModifierFlagShift | NSEventModifierFlagOption | NSEventModifierFlagCommand | NSEventModifierFlagControl))
|
||||
#define USEFUL_MODS(x) (x & (NSEventModifierFlagShift | NSEventModifierFlagOption | NSEventModifierFlagCommand | NSEventModifierFlagControl | NSEventModifierFlagFunction))
|
||||
|
||||
static void
|
||||
build_global_shortcuts_lookup(void) {
|
||||
|
||||
Reference in New Issue
Block a user