On Wed, Jan 06, 2010 at 09:54:25PM -0800, Paul Vojta wrote: > Having WarpTitle functionality on root menus is useful, because often > one will want to pop up a menu by clicking on a mouse button, then > traverse the menu using keystrokes. For example, in my .fvwm/config file, > I have Button 1 call up a menu in which the last entry is > > "quit X" Quit
Does the attached patch do what you want? -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.
Index: fvwm/menus.c =================================================================== RCS file: /home/cvs/fvwm/fvwm/fvwm/menus.c,v retrieving revision 1.418 diff -u -r1.418 menus.c --- fvwm/menus.c 18 Mar 2008 11:29:45 -0000 1.418 +++ fvwm/menus.c 7 Jan 2010 07:28:51 -0000 @@ -3773,7 +3773,7 @@ /* also warp */ MR_SELECTED_ITEM(mr) = NULL; warp_pointer_to_item( - mr, MR_FIRST_ITEM(mr), True /* skip Title */); + mr, MR_FIRST_ITEM(mr), False /* Include the title */); select_menu_item(mr, MR_SELECTED_ITEM(mr), True, fw); } else if (do_warp_to_title)
