diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 4 |
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; |