On Wed, Feb 10, 1999 at 03:09:40PM +0000, neil.bird_at_rrds.co.uk wrote:
>
> I'm trying to get close to olwm's DEFAULT functionality.
>
> Unless anyone can recommend an alternative solution, I thought maybe the
> best bet would be to pop up the sub-menu with a fixed 'Mouse' offset such
> that the 'default' option appears under the pointer. But I can't - I can
> only send the menu *away* from the pointer (it goes down/right or up/left
> away using +ve/-ve offsets ... never positioning the menu *under* the
> pointer), or centralise it.
Yes, that's right. This syntax is interpreted like a window geometry and
thus a negative value means 'put the lower/right edge relative to the
reference rectangle (i.e. the pointer)'. Could you hack in an enhancement
request for this? I wanted to enhance the syntax for this when I wrote
the position hints but somehow forgot this.
For now the best thing you could do is this:
Popup foo mouse c c+48 NoWarp
(This guesses that the first entry is 48% of the menu height away from
the center. Might be utterly wrong for long/short menus or menus without
a title.)
Bye
Dominik
--
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt_at_hp.com
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Feb 10 1999 - 09:41:51 GMT