Add implementation for focus moving hardcoded shortcuts
This commit is contained in:
parent
57f591d1ce
commit
728eceb620
1 changed files with 2 additions and 1 deletions
|
|
@ -660,7 +660,8 @@ - (void)render_frame_received:(id)displayIDAsID
|
|||
|
||||
static int
|
||||
default_global_character_shortcut(uint32_t ch, NSEventModifierFlags mods) {
|
||||
(void)ch; (void)mods;
|
||||
if ((ch == '`' || ch == '~') && (mods & ~NSEventModifierFlagShift) == NSEventModifierFlagCommand) return kSHKMoveFocusToNextWindow;
|
||||
if (ch == NSF4FunctionKey && (mods & ~NSEventModifierFlagShift) == NSEventModifierFlagCommand) return kSHKMoveFocusToActiveOrNextWindow;
|
||||
return kSHKUnknown;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue