ui: fix focus_app()

pull/1651/head
Alexander Medvednikov 2019-08-18 17:01:31 +03:00
parent 56fbafe03a
commit 89b5a0fc25
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ pub fn reg_key_vid() {
#EventTypeSpec eventType; #EventTypeSpec eventType;
#eventType.eventClass = kEventClassKeyboard; #eventType.eventClass = kEventClassKeyboard;
#eventType.eventKind = kEventHotKeyPressed; #eventType.eventKind = kEventHotKeyPressed;
#InstallApplicationEventHandler(&focus_app, 1, &eventType, NULL, NULL); #InstallApplicationEventHandler(&ui__focus_app, 1, &eventType, NULL, NULL);
#gMyHotKeyID.signature = 'rml1'; #gMyHotKeyID.signature = 'rml1';
#gMyHotKeyID.id = 1; #gMyHotKeyID.id = 1;
#RegisterEventHotKey(kVK_ANSI_1, cmdKey, gMyHotKeyID, #RegisterEventHotKey(kVK_ANSI_1, cmdKey, gMyHotKeyID,