Nikolay Mikheev | 4 Feb 2012 19:28

Dock in Mac OS X Cocoa

Hello.

There's a problem in handling dock click in Mac since Cocoa version,
because function macEventFilter is designed for Carbon, not Cocoa.
Here is an issue:
http://code.google.com/p/psi-dev/issues/detail?id=403

Attached file is a patch for handling this one. I'm not good in git,
so i send it here.
This is an adoption of this solution:
https://github.com/KDAB/Charm/blob/master/Charm/MacApplication.mm

-- 
Best regards, Nikolay Mikheev
Attachment (mac_dock.diff): application/octet-stream, 3915 bytes
Hello.

There's a problem in handling dock click in Mac since Cocoa version,
because function macEventFilter is designed for Carbon, not Cocoa.
Here is an issue:
http://code.google.com/p/psi-dev/issues/detail?id=403

Attached file is a patch for handling this one. I'm not good in git,
so i send it here.
This is an adoption of this solution:
https://github.com/KDAB/Charm/blob/master/Charm/MacApplication.mm

--

-- 
(Continue reading)


Gmane