From 4c7dfb0595f5476f976e8826a289bd204d1a7c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 11 Jun 2014 00:25:14 +0000 Subject: [PATCH] [GB.GTK] * BUG: Correctly resets the clip region offset after a DrawingArea draw event. git-svn-id: svn://localhost/gambas/trunk@6313 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.gtk/src/CDrawingArea.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gb.gtk/src/CDrawingArea.cpp b/gb.gtk/src/CDrawingArea.cpp index 3409d378e..7a4cf85a1 100644 --- a/gb.gtk/src/CDrawingArea.cpp +++ b/gb.gtk/src/CDrawingArea.cpp @@ -90,6 +90,7 @@ static void cb_expose(gDrawingArea *sender, GdkRegion *region, int dx, int dy) PAINT_begin(THIS); gdk_region_offset(region, -dx, -dy); PAINT_clip_region(region); + gdk_region_offset(region, dx, dy); GB.Raise(THIS, EVENT_draw, 0);