]> git.decadent.org.uk Git - ion3.git/blobdiff - mod_statusbar/statusbar.c
Added workaround for Flash full-screen bug (#462690).
[ion3.git] / mod_statusbar / statusbar.c
index c43d2b0ef71594d6d5ccead046e28d88da9d6764..3f741005619cf14c3a1716e2a9f3472650766831 100644 (file)
@@ -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);