2009/5/3 Paul Vojta <[email protected]>:
> Thomas Adam <[email protected]> wrote:
>
>> 2009/5/2 Manoj Srivastava <[email protected]>:
>> > Hi,
>> >
>> >        [Please retain a CC to [email protected], so that
>> >        the Debian BTS has a record of your response]
>> >
>> >        This has been reported by a Debian user, and I can vouch for
>> >  this defect in my own setup.
>> >
>> >  The option "MenuStyle * TitleWarp" in my .fvwmrc file (which should be on
>> >  by default) no longer works.  It used to work in 2.5.16-2, but stopped 
>> > working
>> >  in 2.5.17-1.
>>
>> Can we have a minimal .fvwm2rc file (not the name here -- as opposed
>> to the, I hope, misnamed .fvwmrc in the original post) which produces
>> this?
>
> ---- begin ----
> MenuStyle * TitleWarp
>
> Mouse 1 R       A       Menu RootMenu Nop
>
> AddToMenu RootMenu      "Root Menu"     Title
> +                       "xterm"         Exec exec xterm
> +                       "iceweasel"     Exec exec iceweasel
> +                       "(De)Iconify"   Iconify
> +                       "restart"       Restart
> +                       "go back"       Restart fvwm -f config
> +                       "quit X"        Quit
> ---- end ----

Right -- so I finally realised what it is you're referring to (albeit
I had to do too much guessing even with that config).  The default for
this changed in 2.5.17 for title warps not to happen on root menus.  I
can't recall why, but the attached patch will hopefully put back the
"old" behaviour.   This isn't being commited in CVS or anything like
that -- this behaviour exists for a reason.

-- Thomas Adam
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	3 May 2009 01:24:20 -0000
@@ -3738,7 +3738,7 @@
 	 * Warp the pointer
 	 */
 
-	if (!do_warp_to_item && parent_menu != NULL)
+	if (!do_warp_to_item)
 	{
 		MenuItem *mi;
 

Reply via email to