On 26.04.2012 03:32, Arnaud Fontaine wrote: > Anurag Priyam <[email protected]> writes: > >> Their website http://unagi.mini-dweeb.org/ says heavily tested with >> Awesome only. Ironically, I can't get it to work on my system. I >> have both awesome and unagi installed from git HEAD, opacity = 0.5 >> thrown in for a couple of clients, but I see no transparency. I tried >> running unagi before starting awesome as well as after; didn't help. >> Any idea people? > > Could you please paste your Awesome configuration ? Also, you can make > sure that transparency property is set properly for a given window (and > thus unagi properly rendered transparency) by checking that > _NET_WM_WINDOW_OPACITY (through "xprop")...
Good morning, attached patch for unagi fixes this issue. The summary could as well be "awesome git/master is doing weird things that no one else does". :-) Cheers, Uli -- "In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move."
>From 9c660db35099ed327ab9afc4bbe1c9103ef21c3d Mon Sep 17 00:00:00 2001 From: Uli Schlachter <[email protected]> Date: Fri, 27 Apr 2012 09:14:11 +0200 Subject: [PATCH] Handle _NET_WM_WINDOW_OPACITY with ARGB windows Previously, setting an ARGB window's opacity via e.g. transset had no effect, because this property was never evaluated. This commit fixes that. This also fixes transparency in the git/master version of the "awesome" window manager, because this is a reparenting WM which creates all its parent windows with an ARGB visual (lazy programmer :-). Signed-off-by: Uli Schlachter <[email protected]> --- rendering/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendering/render.c b/rendering/render.c index f29ac76..44a2cc8 100644 --- a/rendering/render.c +++ b/rendering/render.c @@ -611,7 +611,7 @@ render_paint_window(window_t *window) if(render_window->is_argb) render_composite_op = XCB_RENDER_PICT_OP_OVER; - else if(_render_conf.opacity_plugin && + if(_render_conf.opacity_plugin && _render_conf.opacity_plugin->vtable->window_get_opacity) { alpha_picture = -- 1.7.10
