[openbox] Maximized windows no decoration

Andreas Fink andreas.fink85 at googlemail.com
Mon Jan 11 14:12:07 EST 2010


On Monday 11 January 2010 17:25:50 Freddie wrote:
> On Mon, 11 Jan 2010, Dana Jansens wrote:
> > 2010/1/11 Andreas Fink <andreas.fink85 at googlemail.com>:
> >> 2010/1/11 Alexey Korop <akorop at gmail.com>
> >>
> >>> Andreas Fink wrote:
> >>>>> Does "ToggleFullscreen" do what you want?
> >>>>
> >>>> Nice suggestion, but I'm using a panel, which I want to be visible ;)
> >>>
> >>>  <margins>
> >>>    <top>0</top>
> >>>    <bottom>25</bottom>
> >>>    <left>0</left>
> >>>    <right>0</right>
> >>>  </margins>
> >>
> >> Margins only work for maximized windows, not fullscreen windows
> >> (openbox-3.4.10)
> >> However a negative top margin would be a solution but this not supported
> >> (short look in the source code shows that you take MAX(0, margin))
> >
> > That would mess up a lot of other things, like placing windows off
> > screen etc.  Basically you can't do what you're asking right now.  It
> > has been suggested before to allow different theming options for
> > windows of different types, also for windows in different states would
> > clearly be nice.
> 
> What about just having a key combination that toggles maximisation state
> and decoration? If you're worried about decoration and maximisation
> getting out of sync then you could have one key combo to max/undecorate
> 
> <keybind key="x-y-z">
>    <action name="MaximizeFull"/>
>    <action name="Undecorate"/>
> </keybind>
> 
> and another to unmax/decorate?
> 
> <keybind key="a-b-c">
>    <action name="UnmaximizeFull"/>
>    <action name="Decorate"/>
> </keybind>
> 
> Freddie

That's possible but still does not solve the situation when a maximized window 
appears on the screen. This window would still get a border, but I'd like to 
have automatically no border on maximized windows...
But it is not possible as already mentioned before :(

Andreas


More information about the openbox mailing list