On Sat, Jan 05, 2002 at 05:37:47AM +0000, Tony Finch wrote:
> On Sat, Jan 05, 2002 at 11:05:22AM +0600, Dmitry Yu. Bolkhovityanov wrote:
> > 
> >     In fact, this will have an effect of cancelling the menu by just
> > <g>, no matter whether the <Ctrl> is pressed or not.  Sure, there's no
> > problem, since menu items' accelerators are checked first, so that menu
> > item with "g" hotkey will still work.  But description in the manpage is
> > incorrect.
> 
> Yes, the reasoning for that is that I was copying the behaviour of the
> N and P keys. I'm not bothered either way.
> 
> --- menus.c.orig      Sat Jan  5 04:19:21 2002
> +++ menus.c   Sat Jan  5 05:35:22 2002
> @@ -1056,6 +1056,10 @@
>      /* abort */
>      saction = SA_ABORT;
>      break;
> +  case XK_g: /* emacs */
> +    if (fControlKey)
> +      saction = SA_ABORT;
> +    break;
>  
>    case XK_space:
>    case XK_Return:

Good idea, I think I'll make a more general patch that also
handles ctrl-a (start of menu), ctrl-e (end of menu), ctrl-f
(next item), ctrl-b (last item), ctrl-right (next section) and
ctrl-left (previous section).

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to