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

2021-12-16 Thread Hegel3DReloaded
On Friday, December 17th, 2021 at 2:33 AM, Dominik Vogt wrote: > It uses the window's screen which has already been set by the time > the window is placed. Great. So this is the right fix. I have commented and closed https://github.com/fvwmorg/fvwm3/issues/648 -- Miroslav

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

2021-12-16 Thread Dominik Vogt
On Fri, Dec 17, 2021 at 01:00:53AM +, Hegel3DReloaded wrote: > On Friday, December 17th, 2021 at 1:38 AM, Dominik Vogt > 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

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

2021-12-16 Thread Hegel3DReloaded
On Friday, December 17th, 2021 at 1:38 AM, Dominik Vogt 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

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

2021-12-16 Thread Dominik Vogt
On Fri, Dec 17, 2021 at 12:42:25AM +, Hegel3DReloaded wrote: > On Friday, December 17th, 2021 at 1:18 AM, Dominik Vogt > wrote: > > > When __pl_position_get_pos_simple() enconters a "center" argument > > it replaces it with DEFAULT_PLACEMENT_POS_CENTER_STRING which is > > defined to "screen

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

2021-12-16 Thread Hegel3DReloaded
On Friday, December 17th, 2021 at 1:18 AM, Dominik Vogt wrote: > When __pl_position_get_pos_simple() enconters a "center" argument > it replaces it with DEFAULT_PLACEMENT_POS_CENTER_STRING which is > defined to "screen $[w.screen] 50-50w 50-50w" as of commit id >

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

2021-12-16 Thread Dominik Vogt
On Fri, Dec 17, 2021 at 12:13:42AM +, Hegel3DReloaded wrote: > On Friday, December 17th, 2021 at 12:18 AM, Dominik Vogt > wrote: > > On Thu, Dec 16, 2021 at 07:18:23PM +, Hegel3DReloaded wrote: > > >> xrandr --output Virtual-1 --mode 1400x1050 --primary --output Virtual-2 > >> --mode

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

2021-12-16 Thread Dominik Vogt
On Fri, Dec 17, 2021 at 01:18:17AM +0100, Dominik Vogt wrote: > On Thu, Dec 16, 2021 at 04:23:35PM +, Hegel3DReloaded wrote: > > I have opened an issue about PositionPlacement Center style: after > > the recent changes, in multi monitor mode, this centers window > > split between left and

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

2021-12-16 Thread Dominik Vogt
On Thu, Dec 16, 2021 at 04:23:35PM +, Hegel3DReloaded wrote: > I have opened an issue about PositionPlacement Center style: after > the recent changes, in multi monitor mode, this centers window > split between left and right monitor, while with latest fvwm3 > release, this was not the case.

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

2021-12-16 Thread Hegel3DReloaded
On Friday, December 17th, 2021 at 12:18 AM, Dominik Vogt wrote: > On Thu, Dec 16, 2021 at 07:18:23PM +, Hegel3DReloaded wrote: >> xrandr --output Virtual-1 --mode 1400x1050 --primary --output Virtual-2 >> --mode 1400x1050 --right-of Virtual-1 > And how do I get these virtual screens? Ok,

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

2021-12-16 Thread Dominik Vogt
On Thu, Dec 16, 2021 at 07:18:23PM +, Hegel3DReloaded wrote: > xrandr --output Virtual-1 --mode 1400x1050 --primary --output Virtual-2 > --mode 1400x1050 --right-of Virtual-1 And how do I get these virtual screens? Ciao Dominik ^_^ ^_^ -- Dominik Vogt

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

2021-12-16 Thread Hegel3DReloaded
On Thursday, December 16th, 2021 at 6:15 PM, Dominik Vogt 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

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

2021-12-16 Thread Dominik Vogt
On Thu, Dec 16, 2021 at 04:23:35PM +, Hegel3DReloaded wrote: > I have opened an issue about PositionPlacement Center style: after the recent > changes, > in multi monitor mode, this centers window split between left and right > monitor, while with > latest fvwm3 release, this was not the