From 5ecb192a9cbebcc041cc1330383e4ca466349670 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Tue, 20 May 2008 23:30:23 -0700 Subject: c++ != perl --- src/Ewmh.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 49faaa5..fd13a9f 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc @@ -1153,8 +1153,8 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce, return true; FbTk::ThemeProxy &theme = screen->focusedWinFrameTheme(); unsigned int bw = theme->border().width(); - long title_h = theme->titleHeight() + 2*bw || - theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw; + long title_h = theme->titleHeight() ? theme->titleHeight() + 2*bw : + theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw; long handle_h = theme->handleWidth() + 2*bw; long extents[4]; // our frames currently don't protrude from left/right -- cgit v0.11.2