[openbox] OpenBox 3.0 and Transparency [longish]

Mikael Magnusson mangosoft at comhem.se
Fri Nov 21 04:00:33 EST 2003


On Fri, 21 Nov 2003, Cibao Cu' Ali G. Colibri wrote:

> Greetings.
> 
> I've got a bit of an issue here that I was wondering if someone with more 
> clue than I could help me resolve:
> 
> I've been dinkering with this for a bit now and am stumped for ideas.
> 
> Any assistance, clues, or FM to R would be greatly appreciated. =)
> 

You can fix this in two ways, one is to say -sh 99 or 101 to aterm, so it 
uses a different transparency method, or you can comment out two lines in 
openbox/framerender.c

--- openbox/framerender.c	2003/10/15 03:59:35	1.28
+++ openbox/framerender.c	2003/11/12 20:20:34
@@ -39,8 +39,8 @@ void framerender_frame(ObFrame *self)
         px = (self->focused ?
               RrColorPixel(ob_rr_theme->cb_focused_color) :
               RrColorPixel(ob_rr_theme->cb_unfocused_color));
-        XSetWindowBackground(ob_display, self->plate, px);
-        XClearWindow(ob_display, self->plate);
+//        XSetWindowBackground(ob_display, self->plate, px);
+//        XClearWindow(ob_display, self->plate);
     }
 
     if (self->decorations & OB_FRAME_DECOR_TITLEBAR) {

but that might have some other side effects you may or may not like :)

--
Mikael Magnusson



More information about the openbox mailing list