aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-23 21:33:10 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-23 21:33:10 (GMT)
commitfbc305ca80e352240b32b833e8388fb9aa99fa72 (patch)
treeea1c7d2f66b8ede4209f7299a228f36f98086393 /src/Window.cc
parent1b48b749b9a376c883ff4cc2ca3e807ac85cf21f (diff)
downloadfluxbox-fbc305ca80e352240b32b833e8388fb9aa99fa72.zip
fluxbox-fbc305ca80e352240b32b833e8388fb9aa99fa72.tar.bz2
added focused/unfocused borders to styles
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 54f6915..9b3c3ce 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2981,7 +2981,7 @@ void FluxboxWindow::applyDecorations(bool initial) {
2981 2981
2982 unsigned int border_width = 0; 2982 unsigned int border_width = 0;
2983 if (decorations.border) 2983 if (decorations.border)
2984 border_width = frame().theme().border().width(); 2984 border_width = frame().theme().border(m_focused).width();
2985 2985
2986 bool client_move = false; 2986 bool client_move = false;
2987 2987
@@ -4032,7 +4032,7 @@ void FluxboxWindow::updateButtons() {
4032void FluxboxWindow::reconfigTheme() { 4032void FluxboxWindow::reconfigTheme() {
4033 4033
4034 m_frame.setBorderWidth(decorations.border ? 4034 m_frame.setBorderWidth(decorations.border ?
4035 frame().theme().border().width() : 0); 4035 frame().theme().border(m_focused).width() : 0);
4036 if (decorations.handle && frame().theme().handleWidth() != 0) 4036 if (decorations.handle && frame().theme().handleWidth() != 0)
4037 frame().showHandle(); 4037 frame().showHandle();
4038 else 4038 else