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:
parent
56fbafe03a
commit
89b5a0fc25
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user