Re: [bug] Style PositionPlacement Center confused in multi monitor setup

Hegel3DReloaded <[email protected]> Thu, 16 Dec 2021 19:18:23 +0000
Newsgroups gmane.comp.window-managers.fvwm.devel
Message-ID <JPfvWOuvlg93vm8dYD7HI_udyS897RF8He3j6ThEks-0uF9vJ5SWLuyoFY72z-BhZKve5zCP2D4zy4w6sYCsNetpvz6woKDqR7NLDsZrI7M=@protonmail.com>
On Thursday, December 16th, 2021 at 6:15 PM, Dominik Vogt <dominik.vogt@gmx=
.de> wrote:

> You forgot instructions to reproduce.

I tought it was obvious, so in hurry I didn't described that. Here it is:

Steps to reproduce with plain default FVWM setup:

1.    Copy /share/fvwm3/default-config as ~/.fvwm
2.    Edit ~/.fvwm/config, add Module FvwmMFL into StartFunction
3.    Login to this session / start fvwm with this config
4.    In one terminal window, enable the second screen and restart fvwm:

xrandr --output Virtual-1 --mode 1400x1050 --primary --output Virtual-2 --m=
ode 1400x1050 --right-of Virtual-1
FvwmCommand Restart

Replace RandR names of the monitors above with you actual names.

Then, configure xterm to have Style PositionPlacement Center and start it:

FvwmCommand 'Style XTerm PositionPlacement Center'
xterm &

Xterm will appear between two monitors, in the real center instead of cente=
r of the current monitor.

The same behaviour can be observer while calling Quit from the menu: Quit f=
orm will appear between two monitors.
Latest release behaves well BTW.