src/w32fns.c (modifier_set): Don't include Num Lock in the reported
modifiers.
* w32fns.c (modifier_set): Don't report modifiers from toggle key,
such as Scroll Lock, if the respective keys are treated as
function keys, not as modifiers. This avoids destroying non-ASCII
- keyboard input when Scroll Lock is toggled ON. (Bug#1280)
- (modifier_set): Do not omit checking the Num Lock key.
+ keyboard input when Scroll Lock is toggled ON. (Bug#12806)
2012-11-07 Dmitry Antipov <dmantipov@yandex.ru>
else
return (GetKeyState (vkey) & 0x1);
}
- if (vkey == VK_NUMLOCK)
- {
- if (NILP (Vw32_enable_num_lock))
- return 0;
- else
- return (GetKeyState (vkey) & 0x1);
- }
if (!modifiers_recorded)
return (GetKeyState (vkey) & 0x8000);