winemac: Dispatch key-up events directly to window to be sure to get them.
commita39b02c3e77cf2082c548c65958fd56d0897c1fc
authorKen Thomases <ken@codeweavers.com>
Tue, 9 Jul 2013 07:49:59 +0000 (9 02:49 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 9 Jul 2013 08:30:45 +0000 (9 10:30 +0200)
tree54c8dd17c98faaecbb61fbfd8a11005855e75fea
parenta723af61acbec0915867a9de4713eceba9379dcd
winemac: Dispatch key-up events directly to window to be sure to get them.

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
dlls/winemac.drv/cocoa_app.m
dlls/winemac.drv/cocoa_window.h
dlls/winemac.drv/cocoa_window.m