> > - I wonder if it is necessary to propagate the signal throughout the
> > widget hierarchy.
> >   Isn't it enough to have the signal on GdkScreen ?
>
> It is quite painful to keep track of whether a screen is
> composited since you have to also keep track of when the screen
> changes. Having the signal on the widget means not only that this
> becomes much easier, but also that gtk+ can guarantee that a widget is
> invalidated when the composited-status changes. That way, a simple
> widget can just check gdk_screen_is_composited() in the expose
> handler.

Makes sense, I guess.
_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to