[Sugar-devel] [PATCH] add clock to frame
Martin Dengler
martin at martindengler.com
Sun May 3 23:05:11 EDT 2009
On Mon, May 04, 2009 at 12:17:05AM +0100, Martin Dengler wrote:
> On Sun, May 03, 2009 at 09:01:14AM -0400, pgf at 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 at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090504/8d70e328/attachment.pgp
More information about the Sugar-devel
mailing list