On Mon, May 04, 2009 at 12:17:05AM +0100, Martin Dengler wrote: > On Sun, May 03, 2009 at 09:01:14AM -0400, p...@laptop.org wrote: > > given martin's point about the battery level, wireless strength, > > etc, all becoming stale as well, perhaps the best fix would be to > > always hide the frame during idle suspend. as far as i know, > > however, there's currently no mechanism for apps to learn that > > idle suspend is imminent. > > Given this, and the fact that frame icons don't get any useful > gtk.gdk.{VISIBILITY,EXPOSE} events more than once per Sugar session > (unless one changes VTs away and then back), don't expect an > acceptable clock (redraws when the frame is exposed and only then, > hides before power blanking) anytime soon.
Getting rid of the compositing manager that I forgot I was running solves the expose event problem. Anybody have any great ideas about how to solve the problem of what to do just before power management dims/blanks the screen, and how we would want to be notified of that? I'm not so sure we want to hide the frame (but if we do, great, no more issues for the clock :)). > > paul > > Martin Martin > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel
pgpJvPJBlelZi.pgp
Description: PGP signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel