2009/7/7 Kathryn Andersen <kat_lists@kats...>:
> Apologies if this is the wrong list to ask this on, but if it is, please
> do point me in the right direction.
> I'm working on a Fvwm Perl module (that is, an Fvwm module using Perl
> and FVWM::Module and related packages). One of the things it does is
> resize and move windows, but I want my resizing and moving to honour the
> EwmhBaseStruts restrictions. Now, the Maximize command honours them
> automatically, but the Move command doesn't (and fair enough, too).
Remember that in terms of resizing and moving that can only happen
*after* the fact, due to the fact the pointer is grabbed and nothing
is updated until after the operation has completed. The struts limit
isn't a brick wall for things not to move around, it's just a hint ---
so, yes, whilst you can do what you want, the effect might seem a
> So I need some way, within my module, of finding out what the values for
> EwmhBaseStruts are. I tried using the FVWM::Tracker::GlobalConfig
> tracker to get this information, but the only information it gives me is
> Desktop names, Colorsets, ImagePath and a couple of other things. But
> nothing about EwmhBaseStruts.
That's because that specific set of information isn't broadcast to all
modules or sent down in Send_ConfigInfo.
> Is there some other method of finding this information, or am I missing
If you're *really* desperate, put each value of the EwmhBaseStruts
options into the environment via SetEnv.