[openbox] OpenBox 3.0 and Transparency [longish]

Roman Neuhauser neuhauser at bellavista.cz
Thu Jan 8 07:34:33 EST 2004


# mangosoft at comhem.se / 2003-11-21 10:00:33 +0100:
> On Fri, 21 Nov 2003, Cibao Cu' Ali G. Colibri wrote:

    [ transparent windows get fscked up in 3.0 ]

> 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 :)

    I'm seeing similar effects, but with

    roman at freepuppy ~ 1001:0 > rxvt -fubar
    rxvt: bad option "-fubar"

    Usage v2.6.4 : (XPM,utmp,.Xdefaults)
    rxvt [-help]
     [-display string] [-tn string] [-geometry geometry] [-C] [-iconic] [-/+rv]
     [-/+ls] [-/+sb] [-/+sr] [-/+st] [-/+si] [-/+sk] [-/+ip] [-/+ut] [-/+vb]
     [-bg color] [-fg color] [-pixmap file[;geom]] [-fb fontname] [-fn fontname]
     [-pt style] [-im name] [-name string] [-title string] [-n string]
     [-cr color] [-pr color] [-bd color] [-sl number] [-mod modifier]
     [-xrm string] [-e command arg ...]

    What are the "some other side effects" you mentioned?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html



More information about the openbox mailing list