all repos — openbox @ 768c3cd4a9fba291e49f4706829d2021d0952aa8

openbox fork - make it a bit more like ryudo

more namespacing with Rr*
Dana Jansens danakj@orodu.net
commit

768c3cd4a9fba291e49f4706829d2021d0952aa8

parent

33ec08ea2253a1692cac221f49dadda339371f66

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M render/render.crender/render.c

@@ -109,7 +109,7 @@ if (l->surface.grad != RR_SURFACE_SOLID)

RrPixel32_to_pixmap(l, 0, 0, w, h); } if (l->texture[i].data.mask.color->gc == None) - color_allocate_gc(l->texture[i].data.mask.color); + RrColorAllocateGC(l->texture[i].data.mask.color); RrPixmapMaskDraw(l->pixmap, &l->texture[i].data.mask, &tarea); break; case RR_TEXTURE_RGBA:

@@ -242,7 +242,7 @@ as reduce_depth just sets im->data = data and returns

*/ scratch = g_new(RrPixel32, im->width * im->height); im->data = (char*) scratch; - reduce_depth(l->inst, in, im); + RrReduceDepth(l->inst, in, im); XPutImage(RrDisplay(l->inst), out, DefaultGC(RrDisplay(l->inst), RrScreen(l->inst)), im, 0, 0, x, y, w, h);

@@ -336,7 +336,7 @@ return FALSE;

} *data = g_new(RrPixel32, pw * ph); - increase_depth(inst, *data, xi); + RrIncreaseDepth(inst, *data, xi); if (mask) { /* apply transparency from the mask */