[openbox] Specific border width/color for undecorated/active
Carlos Pita
carlosjosepita at gmail.com
Wed Feb 2 06:39:12 EST 2011
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