all repos — openbox @ 230abdc5a0848cd05dc3a007826a2a6b8a73c0a5

openbox fork - make it a bit more like ryudo

draw the bevel stuff in the pixel data buffer so parent-relative stuff can use it.
Dana Jansens danakj@orodu.net
commit

230abdc5a0848cd05dc3a007826a2a6b8a73c0a5

parent

159ef95805a802b0fe03d4b0ce99f49dadca1709

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

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

@@ -21,7 +21,7 @@

switch (a->surface.grad) { case RR_SURFACE_SOLID: gradient_solid(a, w, h); - return; + break; case RR_SURFACE_VERTICAL: gradient_vertical(&a->surface, w, h); break;

@@ -183,6 +183,9 @@ create_bevel_colors(l);

switch (sp->bevel) { case RR_BEVEL_1: + g_message("%lx %lx %lx", + sp->primary->pixel, + sp->bevel_dark->pixel, sp->bevel_light->pixel); XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc, left, bottom, right, bottom); XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc,