lacasanova / shortcutrecorder

Automatically exported from code.google.com/p/shortcutrecorder
0 stars 0 forks source link

Hotkey detection while in NSEventTrackingRunLoopMode doesn't work? #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using ShortcutRecorder/PTHotKeyCenter/etc in an app of mine (QuickCal). I 
noticed that while in NSEventTrackingRunLoopMode (I've got a status bar item 
with a menu; clicking into that jumps into that runloop mode) - that global 
hotkeys registered with PTHotKeyCenter don't function. 

I'm guessing it has something to do with GetEventDispatcherTarget() in the 
registration inside PTHotKeyCenter, but I'm not sure - and I'm not proficient 
in this Carbon event stuff. 

Any pointers? 

Original issue reported on code.google.com by boutc...@gmail.com on 3 Apr 2011 at 3:22