all repos — fluxbox @ b947855ca5ddf4db72b83ee43112c95f3c8b95ca

custom fork of the fluxbox windowmanager

moved border color and width to frame theme
fluxgen fluxgen
commit

b947855ca5ddf4db72b83ee43112c95f3c8b95ca

parent

2e97e2ccf1d5759dec81e26d7e22c47c6436cbff

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.221 2003/08/24 15:14:41 fluxgen Exp $ +// $Id: Window.cc,v 1.222 2003/08/25 17:07:32 fluxgen Exp $ #include "Window.hh"

@@ -2695,12 +2695,12 @@ // commit current decoration values to actual displayed things

void FluxboxWindow::applyDecorations(bool initial) { frame().clientArea().setBorderWidth(0); // client area bordered by other things - unsigned int borderW = 0; + unsigned int border_width = 0; if (decorations.border) - borderW = screen().rootTheme().borderWidth(); + border_width = frame().theme().border().width(); - if (initial || frame().window().borderWidth() != borderW) - frame().setBorderWidth(borderW); + if (initial || frame().window().borderWidth() != border_width) + frame().setBorderWidth(border_width); // we rely on frame not doing anything if it is already shown/hidden if (decorations.titlebar)