1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ui: fix focus_app()

This commit is contained in:
Alexander Medvednikov 2019-08-18 17:01:31 +03:00
parent 56fbafe03a
commit 89b5a0fc25

View File

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