http://bugs.winehq.org/show_bug.cgi?id=58640 Bug ID: 58640 Summary: winewayland unconditionally sends RCtrl when pressing RAlt Product: Wine Version: 10.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winewayland Assignee: wine-bugs(a)winehq.org Reporter: miles(a)milessimpson.com Distribution: --- In dlls/winewayland.drv/wayland_keyboard.c, at line 831 (as of 10.13 sources), there is an unconditional Right Control forced when pressing the Right Alt key, regardless of keyboard layout, shown here: /* NOTE: Windows normally sends VK_CONTROL + VK_MENU only if the layout has KLLF_ALTGR */ if (key == KEY_RIGHTALT) send_right_control(hwnd, state); This interferes with "us" keyboard layouts and programs that treat left and right alt keys independently. This differs from XWayland where a R_ALT keypress is sent through unmodified for the "us" layout. The line in question has a comment mentioning that this should only happen when KLLF_ALTGR is specified. There are layouts with that specified, but this check does not factor that in when deciding to send R_CTRL. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.