winemac: Dispatch key events directly to window to be sure to get key-up events.

Ken Thomases ken at codeweavers.com
Thu Jun 27 21:16:35 CDT 2013


For keys pressed in combination with Command, -[NSApplication sendEvent:]
simply doesn't pass the key-up event through to the window.

Fixes a bug with Total Commander where Command-F1 left focus on the menu bar
when it should be on a drive-selection combobox.
---
dlls/winemac.drv/cocoa_app.m    |    6 ++++++
dlls/winemac.drv/cocoa_window.h |    2 ++
dlls/winemac.drv/cocoa_window.m |   15 +--------------
3 files changed, 9 insertions(+), 14 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Dispatch-key-events-directly-to-window-to-be.patch
Type: text/x-patch
Size: 2140 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130627/4ee6605b/attachment.bin>


More information about the wine-patches mailing list