Re: FVWM: Dialog placements

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 1 Dec 2003 12:49:59 +0000

On 28 Nov 2003 13:28:14 +0100, Carsten Prescher wrote:
>
> is it possible to force dialogs to pop up near or on its
> parents? I could not found anything in the documentation.
> Maybe I missed a capable module.

I don't see an easy way to do it currently. But you may write a small
fvwm module in Perl yourself that does Move to a position that you think
is good near the parent, or even just a shell script with FvwmEvent.
Some ideas (not a ready sample):

  parent_id=`xprop -id $[w.id] | grep WM_TRANSIENT_FOR | awk '{print $5}'`

  WindowId $[parent_id] Echo $[w.x] $[w.y]

Regards,
Mikhael.
--
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 Mon Dec 01 2003 - 06:52:34 GMT

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