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

Hegel3DReloaded <[email protected]> Fri, 17 Dec 2021 01:00:53 +0000
Newsgroups gmane.comp.window-managers.fvwm.devel
Message-ID <jgX9eWvJKzOFsq13ff7HKsRa77vkEX--dbJNv_gFSQX3SfpNRKrs0pUCOCPtKo5ppu3DtcQY1kOUD4Aa53g9WyJpWWbRa7ff3AL9jYNrIkA=@protonmail.com>
On Friday, December 17th, 2021 at 1:38 AM, Dominik Vogt <[email protected]=
e> wrote:

> Should be fixed now.
>
> However, I find it really annoying that screens now have to be
> specified by name.

Yes, now it works. So you replaced $[w.screen] with ... something as I see
in git diff. Is it [c]urrent or is it aware if it should start on exact
screen?

> style xterm startsonscreen DVI-I-1
> is completely non-portable.

Indeed it is. I can imagine after-pandemic situation where I go with
notebook someware and connect it to monitor "DP-2" and this does not
work because "DP-2" is not "DVI-I-1" nor HDMI1 ...

I can imagine some translation table, where all non-primary monitors
may be referred as left, top, right or bottom. StartsOnScreen p+1
for "right of primary" or p-1 for left and so on should be portable
in a sense "ok FVWM, when there is setup where you have someting
right of primary, do this with that window".