[PATCH 2/2] winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used.

Erich Hoover ehoover at mines.edu
Mon Oct 12 20:17:10 CDT 2009


Real Name:
    Erich Hoover
Description:
    The attached patch makes it so that the 'F10' key sends a
WM_SYSKEYDOWN window notification on press and WM_SYSKEYUP on release.
 This change fixes Bug 19383 ([Monkey Island Special Edition] Version
Hotswap does not work), where the application relies on the
notification to switch between "modes."  Without this patch the "todo"
added in part 1 fails on the very first event:
msg.c:7121: Test marked todo: VK_F10 press/release: 1: the msg 0x0104
was expected, but got msg 0x0100 instead
Once this patch is added the test fails later for the same reason that
the 'Alt' test does (not all SC_KEYMENU events are currently
generated):
msg.c:7121: Test marked todo: VK_F10 press/release: 8: the msg 0x0211
was expected, but got msg 0x0104 instead

Changelog:
    winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winex11-Send-WM_SYSKEYDOWN-and-WM_SYSKEYUP-when-the.patch
Type: text/x-patch
Size: 1592 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091012/abd6d8f0/attachment.bin>


More information about the wine-patches mailing list