Re: FVWM: raise when WarpToWindow

From: Tavis Ormandy <taviso_at_sdf.lonestar.org>
Date: Thu, 16 Dec 2004 22:31:42 +0000

On Thu, Dec 16, 2004 at 03:52:02PM -0500, Emilie Ann Phillips wrote:
> b) is there some way to not raise the window?
> I am using FVWM version 2.4.19
>

There is, this solution is tested with 2.5.12, I think it should work for you.

> The following .fvwm2rc is sufficient to produce the behavior
>
> AddToFunc Set-Reference
> + I Piperead 'echo "Setenv $0_Id $[w.id]"'
> AddToFunc Goto-Reference

Replace this:

> + I Piperead "echo 'WindowId $$$$[$0_Id] WarpToWindow 50 50'"

With something like this:

WindowId $0 Piperead "echo WindowId root WarpToWindow $(($[w.x]+($[w.width]/2)))p $(($[w.y]+($[w.height]/2)))p"

-- 
-------------------------------------
taviso_at_sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------
--
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 Thu Dec 16 2004 - 16:32:25 GMT

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