all repos — fluxbox @ 5ecb192a9cbebcc041cc1330383e4ca466349670

custom fork of the fluxbox windowmanager

c++ != perl
Mark Tiefenbruck mark@fluxbox.org
commit

5ecb192a9cbebcc041cc1330383e4ca466349670

parent

c7ddf2e4e566a1587c9276a0f71f71d2a72ff014

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/Ewmh.ccsrc/Ewmh.cc

@@ -1153,8 +1153,8 @@ if (!screen)

return true; FbTk::ThemeProxy<FbWinFrameTheme> &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