[PATCH 2/2] winemac: Dispatch key-up events directly to window to be sure to get them

Ken Thomases ken at codeweavers.com
Tue Jul 9 02:49:59 CDT 2013

For keys pressed in combination with Command, -[NSApplication sendEvent:]
simply doesn't pass the key-up event through to the window.  We have to
track which keys we've told Wine are pressed because Cocoa may consume
key-downs that trigger menus or system behaviors.
dlls/winemac.drv/cocoa_app.h    |    2 ++
dlls/winemac.drv/cocoa_app.m    |   30 ++++++++++++++++++++++++++++++
dlls/winemac.drv/cocoa_window.h |    2 ++
dlls/winemac.drv/cocoa_window.m |    3 ++-
4 files changed, 36 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winemac-Dispatch-key-up-events-directly-to-window-to.patch
Type: text/x-patch
Size: 3514 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130709/1a52db2e/attachment.bin>

More information about the wine-patches mailing list