all repos — openbox @ a283652736687067fbc3f49ccffca35de9e27696

openbox fork - make it a bit more like ryudo

stupid function name die
Dana Jansens danakj@orodu.net
commit

a283652736687067fbc3f49ccffca35de9e27696

parent

baa236094f410c8b7eacc3f03af5c74eefb2231b

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

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

@@ -15,7 +15,7 @@ #ifdef HAVE_STDLIB_H

# include <stdlib.h> #endif -static void RrPixel32_to_pixmap(RrAppearance *l, +static void pixel_data_to_pixmap(RrAppearance *l, gint x, gint y, gint w, gint h); void RrPaint(RrAppearance *l, Window win, gint w, gint h)

@@ -89,7 +89,7 @@ case RR_TEXTURE_TEXT:

if (!transferred) { transferred = 1; if (l->surface.grad != RR_SURFACE_SOLID) - RrPixel32_to_pixmap(l, 0, 0, w, h); + pixel_data_to_pixmap(l, 0, 0, w, h); } if (l->xftdraw == NULL) { l->xftdraw = XftDrawCreate(RrDisplay(l->inst), l->pixmap,

@@ -102,7 +102,7 @@ case RR_TEXTURE_MASK:

if (!transferred) { transferred = 1; if (l->surface.grad != RR_SURFACE_SOLID) - RrPixel32_to_pixmap(l, 0, 0, w, h); + pixel_data_to_pixmap(l, 0, 0, w, h); } if (l->texture[i].data.mask.color->gc == None) RrColorAllocateGC(l->texture[i].data.mask.color);

@@ -118,7 +118,7 @@

if (!transferred) { transferred = 1; if (l->surface.grad != RR_SURFACE_SOLID) - RrPixel32_to_pixmap(l, 0, 0, w, h); + pixel_data_to_pixmap(l, 0, 0, w, h); }

@@ -222,7 +222,7 @@ }

} -static void RrPixel32_to_pixmap(RrAppearance *l, gint x, gint y, gint w, gint h) +static void pixel_data_to_pixmap(RrAppearance *l, gint x, gint y, gint w, gint h) { RrPixel32 *in, *scratch; Pixmap out;