[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Specific border width/color for undecorated active/inactive windows
From:       carlosjosepita () gmail ! com (Carlos Pita)
Date:       2011-02-02 11:46:46
Message-ID: AANLkTikbjrFFH+LE56yy4K4rti7Yb_qafEg3YqQ_2PbL () mail ! gmail ! com
[Download RAW message or body]

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
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic