[openbox] Smart windows placement without center option

Dana Jansens danakj at orodu.net
Wed Aug 1 19:54:25 EDT 2007


On 8/1/07, artee at beer.cz <artee at beer.cz> wrote:
> On Wed, Aug 01, 2007 at 05:12:29PM -0400, Dana Jansens wrote:
> > On 8/1/07, Justin Stallard <darkfloyd7 at gmail.com> wrote:
> > > On 8/1/07, artee at beer.cz <artee at beer.cz> wrote:
> > > > I have clear screen with gkrellm running in dock. When I start for
> > > > example xterm and it is enough space for it bellow the gkrellm window
> > > > then xterm  is placed bellow gkrellm and not in the top left corner like
> > > > it was in 3.4.2.
> > >
> > > Hi,
> > >
> > > To quote Dana's 3.4.3 release announcement to this list:
> > >
> > > > Openbox is now extremely clever with regard to partial struts. This
> > > > means, for instance, if you have a panal that doesn't cover the whole
> > > > bottom of you screen, you will be able to fully use the areas to the
> > > > sides of the panel. This is especially important for Xinerama setups,
> > > > where you have a panel that is on only one monitor. Maximizing a
> > > > window on a monitor without a panel will now work as expected - it can
> > > > ignore the panel on the other monitor.
> > >
> > > I believe this is what is causing the behavior you are describing, so
> > > openbox is actually behaving as it should be expected to. AFAIK, there
> > > is no way to revert to the old behavior.
> >
> > I think it's in the way an empty region is chosen to stick the window
> > in.  It used to choose the one with the largest area, but it changed
> > to use the widest one.  I think that was what happened anyways.
>
> And could this be somehow fixed? Because this behaviour drives me crazy. Where
> I can have 4 xterms in 2 rows and columns I have now only 2 xterms in one row
> and the rest is overlapping.
>
> If this can't be fixed I have to stop using gkrellm :-)

I'll probably put it back to how it was.  The whole of window
placement needs to be redone, but just hasn't happened.



More information about the openbox mailing list