[openbox] Specific border width/color for undecorated active/inactive windows

Carlos Pita carlosjosepita at gmail.com
Wed Feb 2 06:46:46 EST 2011


Sorry, I've changed the subject which I had just copy-pasted from the
output of git format-patch without realizing it had truncated the
commit comment.

On Wed, Feb 2, 2011 at 8:39 AM, Carlos Pita <carlosjosepita at gmail.com> wrote:
> Decorated window borders have to cosmetically play well with titlebar,
> handle, grips, etc. while the concerns are a bit different for
> undecorated windows: just make clearly visible the window contour and
> which client currently owns the focus (instead, this is mostly done by
> the titlebar/handle in the case of decorated windows for which the
> border can be almost unnoticeable -thin and shady-). So color and
> width preferences could be different for both scenarios.
>
> This is specially relevant when using pytyle within openbox. As far as
> pytyle can render its own borders one could argue that this is not
> openbox responsibility at all. But be aware that there are non trivial
> issues with the pytyle approach (see
> http://code.google.com/p/pytyle/issues/detail?id=3).
>
> The patch attached to
> https://bugzilla.icculus.org/show_bug.cgi?id=4889 adds three theme
> options with backward compatible defaults:
>
> undecorated.border.width
>  defaults to border.width
>
> window.active.undecorated.border.color
>  defaults to window.active.border.color
>
> window.inactive.undecorated.border.color
>  defaults to window.inactive.border.color
>
> Hope it helps someone else.
>
> Best regards
> --
> Carlos
>


More information about the openbox mailing list