From: Eric Mullins Date: Fri, 9 Oct 2009 06:04:51 +0000 (-0600) Subject: Updated navigation accelerators, fixing ICS problems. X-Git-Tag: v4.4.1.20091019~51 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ab978e4760296c8e05bad6f661a81ca675d1d803;p=xboard.git 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. --- 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