diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 4 |
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() { | |||
4032 | void FluxboxWindow::reconfigTheme() { | 4032 | void 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 |