X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_statusbar%2Fstatusbar.c;h=3f741005619cf14c3a1716e2a9f3472650766831;hb=562cb4d37ba7667ac846fc3d426b152d21ef2c22;hp=c43d2b0ef71594d6d5ccead046e28d88da9d6764;hpb=7aea783be1d1de3555cfd377997a6ff7151e9112;p=ion3.git diff --git a/mod_statusbar/statusbar.c b/mod_statusbar/statusbar.c index c43d2b0..3f74100 100644 --- a/mod_statusbar/statusbar.c +++ b/mod_statusbar/statusbar.c @@ -1,7 +1,7 @@ /* * ion/mod_statusbar/statusbar.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * * See the included file LICENSE for details. */ @@ -635,7 +635,8 @@ bool statusbar_fitrep(WStatusBar *sb, WWindow *par, const WFitParams *fp) bool wchg=(REGION_GEOM(sb).w!=fp->g.w); bool hchg=(REGION_GEOM(sb).h!=fp->g.h); - window_do_fitrep(&(sb->wwin), par, &(fp->g)); + if(!window_fitrep(&(sb->wwin), par, fp)) + return FALSE; if(wchg || hchg){ statusbar_calculate_xs(sb);