http://bugs.winehq.org/show_bug.cgi?id=15203
Summary: World of Warcraft: Right alt key not working Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: fabio.capela@yahoo.com
Created an attachment (id=15960) --> (http://bugs.winehq.org/attachment.cgi?id=15960) assigns ISO_Level3_Shift as VK_RMENU in X11DRV_InitKeyboard
On Ubuntu 8.04, the right alt key generates ISO_Level3_Shift (keysym == 0xfe03), which wine doesn't currently recognize as the right alt button. Found the problem while playing World of Warcraft, where I wasn't able to use the right alt key to trigger actions mapped to a combination of alt and another button.
The attached patch changes X11DRV_InitKeyboard to handle ISO_Level3_Shift as VK_RMENU. This solves the problem for me, but I don't know if it's the proper way to handle this bug.