I am using fvwm 2.5.12 and mozilla 1.7.3; I want the initial mozilla window to have a specific geometry, but it doesn’t seem possible to configure this in mozilla. So I thought I would do it via .fvwm2rc.
Currently I’m using the solution suggested by the FAQ:
*FvwmEvent-NewWindow: add_window Foobar
AddToFunc Foobar
I ThisWindow (“Mozilla”) Move 2p 130p
I ThisWindow (“Mozilla”) Resize 1575p 1021p
I Focus
I WarpToWindow
AddToFunc StartFunction
I FvwmEvent FvwmEvent-NewWindow
The problem with this solution is that the window is first opened with some incorrect geometry, and only then it is moved and resized: there’s a lot of flickering on the screen.
It should be possible to tell fvwm to use the geometry I specify from the start. How ?
If it is not possible with fvwm currently, should I file a feature request ?
I am sorry, I forgot to exchange mutt for Mozilla. I had tested it with
these two lines:
I ThisWindow (“Mozilla”) Move 29p 7p
I ThisWindow (“Mozilla”) Resize 800p 870p
but while doing some further testing I temp. exchanged it for mutt.
The bottomline is, this works fine for me, I do not see the problem
as you describe it – which of course is pretty uninformative to you.
Mozilla comes up instantly, and is at the correct, specified geometry
instantly. Maybe it would be informative to state that I am running
fvwm-2.5.12.
There is a fvwm option somewhere to compensate for non flickering,
maybe that would help a little, although I admit that’s probably trying
to defeat a symptom rather than the disease.
Could it be there’s some other style set (implicitly) for mozilla that
clashes or overlaps in functionality with this one?
Thanks for your answer. I am also running fvwm-2.5.12.
What happens if you use a completely different geometry, like Move 400p 40p and Resize 300p 300p ? You still don’t see the window move ?
I’m asking this because it might happen that Mozilla uses the right geometry by coincidence on your system.
Could it be there’s some other style set
(implicitly) for mozilla that clashes or
overlaps in functionality with this one?
I think so, although I’m unable to find where it is. However, I believe that if fvwm2 directly opens the window with the right geometry (rather than open it with the geometry mozilla asks for and then move and resize it), there shouldn’t be any clash.