hi,
This happens when you call a gdk_window_invalidate_rect on the page window (webView->window). This api implies the window is dirtied and needs refresh for the specified rectangle area.

you can check  WebCore/platform/gtk/ScrollViewGtk.cpp update* which are called by the rendering engine.

regards,
Zaheer



On Thu, Jun 26, 2008 at 6:20 PM, Luka Napotnik <luka.napotnik@gmail.com> wrote:
After some analysis I've noticed that the Frame::paint() in
WebCore/page/Frame.cpp is responsible for drawing and updating contents
in case of changes (ie. javascript animations). What I couldn't find out
what actually triggers this function. Any ideas.

Greets,
Luka

Dne 25.06.2008 (sre) ob 13:23 +0200 je Luka Napotnik zapisal(a):
> Hello.
>
> I want to know what exactly triggers the expose event in WebKit. Or, how
> does GTK+ know when WebKit made changes and needs the expose callback to
> refresh the screen?
>
> Any help appreciated.
>
> Greets,
> Luka

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev