[PATCH 2/3] winemac: Implement support for global hot keys. (try 2)
Ken Thomases
ken at codeweavers.com
Mon Sep 23 20:33:00 CDT 2013
Partially based on a patch for winex11 previously submitted by Vincent Povirk.
try 2: send key hardware messages rather than posting WM_HOTKEY; while registering a hotkey, don't unregister the old one for that HWND/ID until succeeded in registering the new one
---
dlls/winemac.drv/cocoa_event.h | 3 +
dlls/winemac.drv/cocoa_event.m | 174 ++++++++++++++++++++++++++++++++++
dlls/winemac.drv/event.c | 7 ++
dlls/winemac.drv/keyboard.c | 190 ++++++++++++++++++++++++++++++++++++++
dlls/winemac.drv/macdrv.h | 1 +
dlls/winemac.drv/macdrv_cocoa.h | 17 ++++
dlls/winemac.drv/winemac.drv.spec | 2 +
7 files changed, 394 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winemac-Implement-support-for-global-hot-keys.patch
Type: text/x-patch
Size: 22155 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130923/715ce3aa/attachment.bin>
More information about the wine-patches
mailing list