Re: FVWM: Changing titlebar buttons based on window state?

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Fri, 6 Sep 2002 13:22:18 +0200

On Fri, Sep 06, 2002 at 12:38:40PM +0200, Olivier Chapuis wrote:
> On Fri, Sep 06, 2002 at 10:41:38AM +0200, Dominik Vogt wrote:
> > On Thu, Sep 05, 2002 at 09:28:39PM -0500, Len Philpot wrote:
> >
> > > * How to prevent the menu selection from automatically following the
> > > mouse pointer and vice-versa
> >
> > Use a different window manager ;-) Like it or not, fvwm's menu
> > handling is tightly coupled with the position of the pointer.
> > Unless you'd like to spend about a month to change that you can't
> > do anything about it.
> >
>
> I am afraid that I do not understand the question and the answer.

Len refers to fvwm's habit to warp the pointer to the selected
menu item when using the keyboard.

> But, the following behavior is interesting: popup a menu A with an
> entry _e which popup a sub-menu B. Popup the menu B, then click on the
> entry _e. Then the menu selection does not follow the pointer on the
> menu A and its parents neither on the submenus that B can popup (to
> activate an entry in these menus just click on it). The mouse pointer
> is followed only in menu B. To "dynamically" restore the default
> behavior just re-click on the entry _e.

That's a feature. Clicking on a submenu entry locks the selection
in that submenu until you click somewhere else. The patch was
inspired by the way menus worked in netscape 4.x.

> Something like "MenuStyle * PopupOffset -6 100" may help. There are
> also others "popup" options to MenuStyle that you would like to use.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Sep 06 2002 - 06:23:20 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST