all repos — openbox @ 9df3e07b732c3507333f1c6f12df67d53c65d352

openbox fork - make it a bit more like ryudo

it doesn't work but its something
Dana Jansens danakj@orodu.net
commit

9df3e07b732c3507333f1c6f12df67d53c65d352

parent

f38be067884c39cc1061c893cc5e7c5a4d99d9b5

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

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

@@ -152,7 +152,8 @@ (target_w * (area->y + (area->height - dh) / 2));

while (num_pixels-- > 0) { guchar alpha, r, g, b, bgr, bgg, bgb; - alpha = *source >> RrDefaultAlphaOffset; + /* apply the rgba's opacity as well */ + alpha = ((*source >> RrDefaultAlphaOffset) * rgba->alpha >> 8) & 0xff; r = *source >> RrDefaultRedOffset; g = *source >> RrDefaultGreenOffset; b = *source >> RrDefaultBlueOffset;