diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 07d4e3c..f0b23b3 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -974,11 +974,11 @@ 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 | FbWinFrameTheme &theme = screen->winFrameTheme(); | 977 | FbTk::ThemeProxy<FbWinFrameTheme> &theme = screen->winFrameTheme(); |
978 | unsigned int bw = theme.border(true).width(); | 978 | unsigned int bw = theme->border(true).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; |
982 | long extents[4]; | 982 | long extents[4]; |
983 | // our frames currently don't protrude from left/right | 983 | // our frames currently don't protrude from left/right |
984 | extents[0] = bw; | 984 | extents[0] = bw; |