Re: Implementation of new EWMH spec



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]