Re: FVWM: Window position

From: <NancySumner1_at_aol.com>
Date: Wed, 28 Jun 2000 13:24:20 EDT

In a message dated 6/27/00 4:53:26 PM Eastern Daylight Time,
elliot_at_c-cube.com writes:
> *FvwmEventPassID
> *FvwmEvent window_name winame_event
>
> AddToFunc winame_event
> + "I" WindowID $0 ("Mail Tool*Compose*") Geometry 576 0 566 597

Thanks to both you and Mikhael for responding to my question. I have tried
to use both of your suggestions and can't seem to get them to work.
Wondering if you might have any ideas as to what I am doing wrong?

When I used your code (above) I got the following error:
"FvwmEvent: incomplete event definition *FvwmEventPassID"

I am using version 2.2.4 of fvwm2 and FvwmEvent.

When I tried Mikhael's suggestion:
----------------------
*NewWindowEventCmd
*NewWindowEventPassId
*NewWindowEvent add_window FuncFocusWindow

AddToFunc FuncFocusWindow
+ I WindowId $0 ("My Special Window") Move 200p 100p
+ I WindowId $0 Focus
+ I WindowId $0 WarpToWindow

FvwmEvent NewWindowEvent
-----------------------
I didn't get any errors, but the window was not moved. I am wondering if I
may have an older version that doesn't support some of these event calls or
something? I read the man page over and over and checked my code for typos a
bunch - can't seem to figure it out.

Any suggestions are appreciated - and thanks again to both of you for your
responses.

--
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 Wed Jun 28 2000 - 12:27:26 BST

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