[evolution] Invalidate region by one more pixel in width and height
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Invalidate region by one more pixel in width and height
- Date: Thu, 18 Aug 2011 16:56:49 +0000 (UTC)
commit db58289bdf6b82ce211ae9b4accad2ad5998bb78
Author: Milan Crha <mcrha redhat com>
Date: Thu Aug 18 18:56:02 2011 +0200
Invalidate region by one more pixel in width and height
libgnomecanvas/gnome-canvas.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index cca3df0..8e0cd2d 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -3127,8 +3127,8 @@ gnome_canvas_request_redraw (GnomeCanvas *canvas, gint x1, gint y1, gint x2, gin
area.x = x1;
area.y = y1;
- area.width = x2 - x1;
- area.height = y2 - y1;
+ area.width = x2 - x1 + 1;
+ area.height = y2 - y1 + 1;
get_visible_rect (canvas, &clip);
if (!gdk_rectangle_intersect (&area, &clip, &area))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]