Wrong background color in systray using composite extensions
Jasper Huijsmans
jasper at xfce.org
Fri Jul 8 07:49:49 CEST 2005
Op do, 07-07-2005 te 14:43 -0700, schreef Brian J. Tarricone:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jasper Huijsmans wrote:
> > It's a focus/redraw issues with the XEMBED stuff in gtkplug/socket. You
> > can also see it without composite on slow Xserver (I see it with a
> > remote windows Xserver). In that case it becomes a black square.
> >
> > I have absolutely no idea how to solve it, or even what is causing it.
> > Adding _queue_draw () calls does not help. Restarting the panel, or
> > switching on autohide and then switching it off again, usually fixes the
> > issue.
>
> I might be mistaken, but _queue_draw() may not do what you want,
> especially in GTK 2.6. Calling _invalidate_rect() (which may do the
> same thing, actually, can't remember), or gdk_window_clear_area() might
> do the trick.
Yeah, I tried that as well.
> Since it's in another process, it might be necessary to
> do some icky faking of expose events (that is, via XSendEvent(), not
> using GdkEvents). Not sure; I'm just throwing around random crap here.
>
I think something like this might be needed, but I've not yet found the
courage to try (Xlib, eww ;-)
More information about the Xfce4-dev
mailing list