macOS: Respect the users system-wide global keyboard shortcut preferences

Note that we currently dont handle live reload of global shortcut
preferences. I cant be bothered. Patches welcome.
Fixes #4501
This commit is contained in:
Kovid Goyal
2022-01-13 13:34:31 +05:30
parent 17cada7a6a
commit f9d2167c97
4 changed files with 199 additions and 81 deletions

View File

@@ -513,8 +513,6 @@ translateFlags(NSUInteger flags)
return mods;
}
#define debug_key(...) if (_glfw.hints.init.debugKeyboard) { fprintf(stderr, __VA_ARGS__); fflush(stderr); }
static const char*
format_mods(int mods) {
static char buf[128];