Wrong background color in systray using composite extensions

Brian J. Tarricone bjt23 at cornell.edu
Thu Jul 7 23:43:25 CEST 2005


-----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.  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.

	-b

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCzaH96XyW6VEeAnsRApylAJ95SeRH78ldCjxeft36bX/IaKiulACg0NKl
kSlqHOg9k77r5/HuXzgkCts=
=J6me
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list