aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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