Problem: MS-Windows GUI: cannot use AltGr + Space.
Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov,
closes #10820, closes #10753)
{
// ignore VK_SPACE when ALT key pressed: system menu
if (special_keys[i].key_sym == vk
- && (vk != VK_SPACE || !(GetKeyState(VK_LMENU) & 0x8000)))
+ && (vk != VK_SPACE || !(GetKeyState(VK_MENU) & 0x8000)))
{
/*
* Behave as expected if we have a dead key and the special key
* character output (such as a NUMPAD printable character or
* the TAB key, etc...).
*/
- if (dead_key == DEAD_KEY_SET_DEFAULT && (special_keys[i].vim_code0 == 'K'
+ if (dead_key == DEAD_KEY_SET_DEFAULT
+ && (special_keys[i].vim_code0 == 'K'
|| vk == VK_TAB || vk == CAR))
{
outputDeadKey_rePost(msg);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 120,
/**/
119,
/**/