diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
commit | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (patch) | |
tree | 8645f5abd7b89361a1c5ab67e0195c84bc2ceab0 /app/wlib/gtklib/gtkdraw-cairo.c | |
parent | c2b8ba9336499ac930802e957f0d150399f3191e (diff) | |
parent | abf57604846230dc26afe8011aefb8e7bcc34333 (diff) |
Merge debian/watchdebian/1_5.1.2a-1
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 )*/; } |