simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Jul 6 00:45:20 BST 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9573
Date:           2012-07-06 00:45:20 +0100 (Fri, 06 Jul 2012)

Log message (12 lines):
Turns out that the compose-keys fix in r9567 did in fact break one
piece of keyboard handling: if Num Lock is on, numeric keypad keys are
eaten by the IM, so we must avoid passing them to the IM in the first
place if we're in any non-default numeric keypad mode (application or
Nethack).

This is a grubby way to do it, but the more obvious approach of just
moving the Nethack and app-keypad if statements up to above the IM
call doesn't work because those statements depend on the generic
Alt-prefix handling that happens just _below_ the IM call. So instead
I just repeat the list of keystrokes and modes in an if statement
conditionalising the IM call.

Modified files:
U   putty/unix/gtkwin.c

Links:
http://svn.tartarus.org/sgt/?rev=9573&view=rev
http://svn.tartarus.org/sgt/putty/unix/gtkwin.c?rev=9573&r1=9572&r2=9573



More information about the tartarus-commits mailing list