aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index ae5b5e3..426c026 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -306,7 +306,7 @@ void FocusControl::dirFocus(FluxboxWindow &win, FocusDir dir) {
306 306
307 FluxboxWindow *foundwin = 0; 307 FluxboxWindow *foundwin = 0;
308 int weight = 999999, exposure = 0; // extreme values 308 int weight = 999999, exposure = 0; // extreme values
309 int borderW = m_screen.winFrameTheme().border().width(), 309 int borderW = win.frame().window().borderWidth(),
310 top = win.y() + borderW, 310 top = win.y() + borderW,
311 bottom = win.y() + win.height() + borderW, 311 bottom = win.y() + win.height() + borderW,
312 left = win.x() + borderW, 312 left = win.x() + borderW,