From ab978e4760296c8e05bad6f661a81ca675d1d803 Mon Sep 17 00:00:00 2001 From: Eric Mullins Date: Fri, 9 Oct 2009 00:04:51 -0600 Subject: [PATCH] Updated navigation accelerators, fixing ICS problems. Recent changes to the navigation accelerators were in the wrong accelerator table. Since the goal was to correct non-JAWS versions back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still retained the #ifdef JAWS conditional compilation. On an ICS, the navigation keys took control away from the ics client to navigate the game. The update requires the ALT key to be pressed, but it works identical to 4.2.7, not causing an unexpected focus back to the board window when you're just editing text. --- winboard/winboard.rc | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/winboard/winboard.rc b/winboard/winboard.rc index b3d74f3..08c7b91 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -1413,12 +1413,6 @@ BEGIN VK_PRIOR, IDM_LoadPrevPosition, VIRTKEY, SHIFT, ALT, NOINVERT VK_LEFT, IDM_Backward, VIRTKEY, ALT, NOINVERT VK_RIGHT, IDM_Forward, VIRTKEY, ALT, NOINVERT -#ifndef JAWS - VK_LEFT, IDM_Backward, VIRTKEY, NOINVERT - VK_RIGHT, IDM_Forward, VIRTKEY, NOINVERT - VK_DOWN, IDM_ToEnd, VIRTKEY, NOINVERT - VK_DOWN, IDM_ToStart, VIRTKEY, NOINVERT -#endif END NO_ALT ACCELERATORS MOVEABLE PURE @@ -1431,6 +1425,12 @@ BEGIN VK_NEXT, IDM_LoadNextPosition, VIRTKEY, SHIFT, NOINVERT VK_PRIOR, IDM_LoadPrevGame, VIRTKEY, NOINVERT VK_PRIOR, IDM_LoadPrevPosition, VIRTKEY, SHIFT, NOINVERT +#ifndef JAWS + VK_LEFT, IDM_Backward, VIRTKEY, NOINVERT + VK_RIGHT, IDM_Forward, VIRTKEY, NOINVERT + VK_DOWN, IDM_ToEnd, VIRTKEY, NOINVERT + VK_UP, IDM_ToStart, VIRTKEY, NOINVERT +#endif END NO_ICS ACCELERATORS DISCARDABLE -- 1.7.0.4