This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 179ad0f8718479d653783f56c3128ef4cad8d880 (commit) from e418052b3d66f20cca5780f21f9c493a37f3d5af (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/179ad0f8718479d653783f56c3128ef4cad8d...
commit 179ad0f8718479d653783f56c3128ef4cad8d880 Author: Cyril Hrubis metan@ucw.cz Date: Wed May 9 01:28:29 2012 +0200
backends: X11 fix off-by-one.
diff --git a/libs/backends/GP_X11.c b/libs/backends/GP_X11.c index 02137bd..af98a67 100644 --- a/libs/backends/GP_X11.c +++ b/libs/backends/GP_X11.c @@ -69,7 +69,7 @@ static void x11_update_rect(GP_Backend *self, GP_Coord x0, GP_Coord y0, XLockDisplay(x11->dpy);
XPutImage(x11->dpy, x11->win, DefaultGC(x11->dpy, x11->scr), - x11->img, x0, y0, x0, y0, x1-x0, y1-y0); + x11->img, x0, y0, x0, y0, x1-x0+1, y1-y0+1); XFlush(x11->dpy);
x11->resized_flag = 0; @@ -117,8 +117,8 @@ static void x11_poll(GP_Backend *self) break;
x11_update_rect(self, ev.xexpose.x, ev.xexpose.y, - ev.xexpose.x + ev.xexpose.width, - ev.xexpose.y + ev.xexpose.height); + ev.xexpose.x + ev.xexpose.width - 1, + ev.xexpose.y + ev.xexpose.height - 1); break; case ConfigureNotify: if (ev.xconfigure.width == (int)self->context->w &&
-----------------------------------------------------------------------
Summary of changes: libs/backends/GP_X11.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.