Mikhael Goikhman wrote:
> 
> On 20 Aug 2002 18:02:58 -0400, Sergey Babkin wrote:
> >
> > Mikhael Goikhman wrote:
> > >
> > > On 19 Aug 2002 17:29:26 -0400, Sergey Babkin wrote:
> > > >
> > > > Mikhael Goikhman wrote:
> > > > >
> > > > > In 2.5.x try:
> > > > >
> > > > >   EWMHBaseStrut 0 0 0 50
> > > >
> > > > Thanks, that should do it.
> >
> > I've tried it with Aug.19 snapshot and it does not work. Yes, I've checked
> > that ewmh is enabled in the makefile.
> 
> Hmm, currently EWMHBaseStrut for some reason does not work with
> MinOverlapPlacement, but works with TileCascadePlacement.
> I mean placement does not work as expected, Maximize does.

That's because it's intentionally disabled, in placement.c:

  if (SPLACEMENT_MODE(sflags) != PLACE_MINOVERLAPPERCENT &&
      SPLACEMENT_MODE(sflags) != PLACE_MINOVERLAP)
  {  
    EWMH_GetWorkAreaIntersection(fw,
      &screen_g.x, &screen_g.y, &screen_g.width, &screen_g.height,
      SEWMH_PLACEMENT_MODE(sflags));
  }   

I think that this disabling is wrong but maybe whoever did this
had some good reason for it.
 
> > > It also makes Maximize work as expected, not just placement.
> >
> > Maximize is not an issue for me: for fvwm1 I've defined a function to
> > do "Maximize 95 95".
> 
> Try also Maximize -50p -50p, at least this is resolution independent.
> With EWMHBaseStrut it works relatively to the defined base area.

Thanks again. This did not work in fvwm1, that's why I had to use percents.
Now I'm trying to adapt my confguration from fvwm1 to fvwm2.

-SB
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to