diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-05 01:39:19 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-05 01:39:19 (GMT) |
commit | ac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (patch) | |
tree | c8fb9c618184e7ac44f6138409cab3fab86b23e4 /src/Ewmh.cc | |
parent | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff) | |
download | fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2 |
update code to use ThemeProxy
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; |