Re: Removig the "Emulate" command

2021-12-04 Thread Hegel3DReloaded
On Thursday, December 2nd, 2021 at 2:14 PM, Dominik Vogt  
wrote:

> The command
>
>   emulate mwm
>
> has almost no effect.  I'd like to remove it.  There are only
> three things it controls:
>
> 1) The geometry window during move and resize is hard coded to the
>center of the screen.
>
>=> Give the window it's coordinates explicitly.
>
> 2) During an interactive placement, to tell fvwm that you want to
>resize the window after placement:
>  mwm mode:  press shift + button 1
>  fvwm mode: press button 2
>
>=> Just allow both.
>
> 3) Some weirdness about initial drawing of the wire frame.
>
>=> Remove that special case.  It makes zero sense.
>
> Opinions?

Hi,

As Jaimos said, geometry window is configurable via new GeometryWindow Position
directive, the second one is really not something generally known, and making it
both ways doesn't break anything.

Weirdness about initial drawing of the wire frame ... I cannot see any 
difference
here. I don't know how it differs.

Looks like removal of "Emulate" it doesn't break anything. It can be even
conditionally defined like GeometryWindow in configurations which have to 
support
both FVWM2 and FVWM3.


--
Miroslav




Re: Removig the "Emulate" command

2021-12-02 Thread Jaimos Skriletz
On Thu, Dec 2, 2021 at 6:15 AM Dominik Vogt  wrote:
>
> The command
>
>   emulate mwm
>
> has almost no effect.  I'd like to remove it.  There are only
> three things it controls:
>
> 1) The geometry window during move and resize is hard coded to the
>center of the screen.
>
>=> Give the window it's coordinates explicitly.

There is already a new GeometryWindow option which can control the
location of the geometry window. So this is now fully configurable
outside of the emulate options.

>
> 2) During an interactive placement, to tell fvwm that you want to
>resize the window after placement:
>  mwm mode:  press shift + button 1
>  fvwm mode: press button 2
>
>=> Just allow both.
>

Is this configurable via some binding. If not we should make the
button for this configurable via a binding, and just choose one for
the default behavior that can be changed.

> 3) Some weirdness about initial drawing of the wire frame.
>
>=> Remove that special case.  It makes zero sense.
>
> Opinions?

I'm unsure of any other problems here. I would just put some other
method to configure these aspects if there isn't already one in place.

jaimos