diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:02 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:02 +0200 |
commit | 359b557176b9bb2ff1aed2082641eed39c358d0d (patch) | |
tree | f6c2baca2e6a5d06b7bf32e48e475a6b7b1ea262 /app/wlib/gtklib/gtkdraw-cairo.c | |
parent | 9a1d6eded2750572e9f5f79e53ec507dd7a06ba5 (diff) |
New upstream version 5.1.2aupstream/5.1.2a
Diffstat (limited to 'app/wlib/gtklib/gtkdraw-cairo.c')
-rw-r--r-- | app/wlib/gtklib/gtkdraw-cairo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/wlib/gtklib/gtkdraw-cairo.c b/app/wlib/gtklib/gtkdraw-cairo.c index 8672523..5042667 100644 --- a/app/wlib/gtklib/gtkdraw-cairo.c +++ b/app/wlib/gtklib/gtkdraw-cairo.c @@ -824,7 +824,7 @@ static cairo_t* gtkDrawDestroyCairoContext(cairo_t *cairo) { void wDrawSetSize( wDraw_p bd, wPos_t w, - wPos_t h ) + wPos_t h , void * redraw) { wBool_t repaint; if (bd == NULL) { @@ -847,7 +847,8 @@ static cairo_t* gtkDrawDestroyCairoContext(cairo_t *cairo) { bd->pixmap = gdk_pixmap_new( bd->widget->window, w, h, -1 ); wDrawClear( bd ); - bd->redraw( bd, bd->context, w, h ); + if (!redraw) + bd->redraw( bd, bd->context, w, h ); } /*wRedraw( bd )*/; } |