On Tue, Nov 07, 2017 at 10:09:48AM +0100, Dr. Nikolaus Klepp wrote:
> Hi!
> 
> Is there a differnce between a window, that was maximized using "Maximize
> 100 100" and a window that is maximized by "Move 0 0, Resize $[vp.width]
> $[vp.height]" ?

Yes.  If you use the Maximize command, then fvwm treats that window as such.

With your other example of using "Move", it does not.  See also
ResizeMoveMaximize.

> If there is a difference, how do I pass that "Maximised"-flag to a shell
> script? I assume that - while it is working - this is not the best way to do
> so:
> 
> + I ThisWindow (!Maximized) PipeRead ~/a/shell/script not_maximized ....  +
> I ThisWindow (Maximized)  PipeRead ~/a/shell/script maximized ....

That'll work in your case, but you could limit it via State as well.

Depends what you're trying to do.

Kindly,
Thomas

Reply via email to