aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-21 06:30:23 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-21 06:30:23 (GMT)
commit5ecb192a9cbebcc041cc1330383e4ca466349670 (patch)
tree5dba67e8b244b55b4aed6109c1d800476759faeb /src
parentc7ddf2e4e566a1587c9276a0f71f71d2a72ff014 (diff)
downloadfluxbox-5ecb192a9cbebcc041cc1330383e4ca466349670.zip
fluxbox-5ecb192a9cbebcc041cc1330383e4ca466349670.tar.bz2
c++ != perl
Diffstat (limited to 'src')
-rw-r--r--src/Ewmh.cc4
1 files 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,
1153 return true; 1153 return true;
1154 FbTk::ThemeProxy<FbWinFrameTheme> &theme = screen->focusedWinFrameTheme(); 1154 FbTk::ThemeProxy<FbWinFrameTheme> &theme = screen->focusedWinFrameTheme();
1155 unsigned int bw = theme->border().width(); 1155 unsigned int bw = theme->border().width();
1156 long title_h = theme->titleHeight() + 2*bw || 1156 long title_h = theme->titleHeight() ? theme->titleHeight() + 2*bw :
1157 theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw; 1157 theme->font().height() + 2*theme->bevelWidth() + 2 + 2*bw;
1158 long handle_h = theme->handleWidth() + 2*bw; 1158 long handle_h = theme->handleWidth() + 2*bw;
1159 long extents[4]; 1159 long extents[4];
1160 // our frames currently don't protrude from left/right 1160 // our frames currently don't protrude from left/right