From: Derek Foreman Date: Mon, 17 Mar 2003 05:15:33 +0000 (+0000) Subject: more random pokery X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=46e2060fcfea07786dadaa3785f8d89caa49b3e9;p=chaz%2Fopenbox more random pokery --- diff --git a/render/render.c b/render/render.c index 49f2b891..12b373ce 100644 --- a/render/render.c +++ b/render/render.c @@ -66,7 +66,7 @@ void x_paint(Window win, Appearance *l, int x, int y, int w, int h) // printf("painting window %ld\n", win); oldp = l->pixmap; /* save to free after changing the visible pixmap */ - l->pixmap = XCreatePixmap(ob_display, ob_root, w, h, render_depth); + l->pixmap = XCreatePixmap(ob_display, ob_root, x+w, y+h, render_depth); g_assert(l->pixmap != None); if (l->xftdraw != NULL)