cpw.qulogic.cairo: 07e4be41: Fix expose event drawing offset.

qulogic at pidgin.im qulogic at pidgin.im
Sun Aug 8 18:31:38 EDT 2010


----------------------------------------------------------------------
Revision: 07e4be4197d1838a154925c2940cabb58bd9c146
Parent:   a01f8bac85179426f6d26b17532b13546640bec7
Author:   qulogic at pidgin.im
Date:     08/08/10 17:49:10
Branch:   im.pidgin.cpw.qulogic.cairo
URL: http://d.pidgin.im/viewmtn/revision/info/07e4be4197d1838a154925c2940cabb58bd9c146

Changelog: 

Fix expose event drawing offset.

Changes against parent a01f8bac85179426f6d26b17532b13546640bec7

  patched  pidgin/gtkwhiteboard.c

-------------- next part --------------
============================================================
--- pidgin/gtkwhiteboard.c	9837949e2ce0b261736f917e919729891465357a
+++ pidgin/gtkwhiteboard.c	f4cdddcd7a1a3b6e7dbcf7e960c7ab4070f0f120
@@ -383,7 +383,7 @@ static gboolean pidgin_whiteboard_expose
 	cairo_t *cr;
 
 	cr = gdk_cairo_create(GDK_DRAWABLE(widget->window));
-	gdk_cairo_set_source_pixmap(cr, pixmap, event->area.x, event->area.y);
+	gdk_cairo_set_source_pixmap(cr, pixmap, 0, 0);
 	cairo_rectangle(cr,
 	                event->area.x, event->area.y,
 	                event->area.width, event->area.height);


More information about the Commits mailing list