]> Dogcows Code - chaz/openbox/commitdiff
more random pokery
authorDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 05:15:33 +0000 (05:15 +0000)
committerDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 05:15:33 +0000 (05:15 +0000)
render/render.c

index 49f2b891b402c8e257024cba80069378cf848fca..12b373ce70e7b0ad57efd36549559104526d19b1 100644 (file)
@@ -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)
This page took 0.021427 seconds and 4 git commands to generate.