Re: greg shebert: Re: FVWM: referring to current pointer co-ords

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sat, 6 Jan 2001 14:38:03 +0100

On Fri, Jan 05, 2001 at 03:40:08PM -0500, Dan Espen wrote:
>
> Hi, folks. The snow here sure is pretty...oh yeah,
>
> Greg sent this directly to me.
> I don't have an answer for this one.
>
> Date: Fri, 05 Jan 2001 13:51:17 -0600
> From: greg shebert <gshebert_at_efs-us.com>
> To: Dan Espen <dane_at_mk.telcordia.com>
> Subject: Re: FVWM: referring to current pointer co-ords
>
> i want to do two things...
>
> the FvwmForm thing works great but i want it to pop the form up right
> under the mouse with the upper left corner being the
> current X,Y of the pointer...

The 'm' (for 'mouse relative') bit of the Move command does the
trick:

  AddToFunc MyFvwmForm
  + I FvwmForm <options>
  + I Wait <form window name>
  + I Next move m+0 m+0

> i also want to use FvwmEvent to cause newly created windows to pop-up
> with their upper-left corner at the current X,Y of the pointer...

Simply call 'move m+0 m+0' from FvwmEvent on the new windows.

> in order to do this i think that i need to be able to tell fvwm that X
> and Y arguments that are used to refer to screen coords should be the
> current X,Y of the mouse

The 'm' bits in the move command require one of the 2.3.x beta
releases. This is not in 2.2.4.

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Sat Jan 06 2001 - 22:39:32 GMT

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