[maemo-developers] Screenshot as loading screen on Maemo 5

From: Henrik Hedberg henrik.hedberg at innologies.fi
Date: Fri Oct 23 09:29:29 EEST 2009
Aniello Del Sorbo wrote:

> But taking a snapshot slows down the startup... it should be then done
> in a small thread?

    The hildon_gtk_window_take_screenshot function just sends a client 
message to the root window [1] , and the screenshot is taken by the 
window manager / hildon desktop (I guess). So, it does not take too long 
from the application itself, and a thread would make it only slower.

    BR,

    Henrik

[1] 
http://maemo.gitorious.org/hildon/hildon/blobs/master/hildon/hildon-gtk.c#line463


-- 
    Henrik Hedberg  -  http://www.henrikhedberg.net/
More information about the maemo-developers mailing list