aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-07 20:08:56 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-07 20:08:56 (GMT)
commitec3125aeb95a06f08cd4895c5b7c3a8911c1b368 (patch)
tree136d27f04589d0191c48b0abe940c9eb0a17a0db /src/Ewmh.cc
parentdbfddf8e0bcf8e7abbba671eff64c9679332a774 (diff)
downloadfluxbox-ec3125aeb95a06f08cd4895c5b7c3a8911c1b368.zip
fluxbox-ec3125aeb95a06f08cd4895c5b7c3a8911c1b368.tar.bz2
switch FbWinFrameTheme to use FocusableTheme
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index f0b23b3..953d474 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -974,8 +974,8 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce,
974 } else if (ce.message_type == m_net->request_frame_extents) { 974 } else if (ce.message_type == m_net->request_frame_extents) {
975 if (!screen) 975 if (!screen)
976 return true; 976 return true;
977 FbTk::ThemeProxy<FbWinFrameTheme> &theme = screen->winFrameTheme(); 977 FbTk::ThemeProxy<FbWinFrameTheme> &theme = screen->focusedWinFrameTheme();
978 unsigned int bw = theme->border(true).width(); 978 unsigned int bw = theme->border().width();
979 long title_h = theme->titleHeight() || 979 long title_h = theme->titleHeight() ||
980 theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw; 980 theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw;
981 long handle_h = theme->handleWidth() + 2*bw; 981 long handle_h = theme->handleWidth() + 2*bw;