On Thu, Jan 07, 2010 at 07:33:30AM +0000, Thomas Adam wrote:
> 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?
Yes. However, I suspect that it may mess up situations where you do want
to warp to an item and not the title. The attached patch also works, and
seems (to my untrained eye) more correct.
--Paul Vojta, [email protected]
--- fvwm/menus.c.orig 2010-01-06 23:47:54.000000000 -0800
+++ fvwm/menus.c 2010-01-07 00:09:58.000000000 -0800
@@ -3760,6 +3760,7 @@
}
else if (pops->flags.do_warp_title)
{
+ do_warp_to_item = False;
do_warp_to_title = True;
}
if (pops->flags.has_poshints &&