Re: FVWM: Question on "Maximize"

Thomas Adam <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <20171107103811.ox26dhdgem4ksyvt@laptop>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.