Discussion:
FVWM: Center the window with the delay
Bob Marcan
2014-11-03 12:40:17 UTC
Permalink
Hi.
Fedora20, fvwm-2.6.5-6.fc20.x86_64

Style "*SMPlayer*" PositionPlacement Center

When the smplayer is started, final geometry is not yet defined,
it depends on the geometry of the video.
How to center this window with some delay?
TIA, Bob
Bob Marcan
2014-11-03 21:24:23 UTC
Permalink
On Mon, 3 Nov 2014 18:13:21 +0000
Post by Bob Marcan
Hi.
Fedora20, fvwm-2.6.5-6.fc20.x86_64
Style "*SMPlayer*" PositionPlacement Center
When the smplayer is started, final geometry is not yet defined,
it depends on the geometry of the video.
How to center this window with some delay?
Can you be specific by what you mean here? Are you saying that the size
of the window changes after the window is mapped, such that fvwm has
already put that window in the centre, and now that doesn't look
correct?
Style *SMplayer* InitialMapCommand Schedule 9000 Move 50-50w 50-50w
... or whatever takes your fance.
-- Thomas Adam
Yes, that was. And as usual, you solved the problem. Tnx.
BR, Bob

Loading...