mouse_track

svn path=/trunk/netsurf/; revision=8528
This commit is contained in:
Michael Drake 2009-07-14 16:51:42 +00:00
parent 9ec94e4dcf
commit 3bfba0f584

View File

@ -2451,6 +2451,9 @@ gui_pointer_shape get_pointer_shape(struct browser_window *bw, struct box *box,
bool loading = (bw->loading_content != NULL || (bw->current_content &&
bw->current_content->status == CONTENT_STATUS_READY));
if (wallclock() - bw->last_action < 100) {
LOG(("\n\n\t\tTEST: %i\n\t\tloading_content: %p\n\t\tcurrent_content: %p\n\t\tloading: %i\n\n", wallclock() - bw->last_action, bw->loading_content, bw->current_content, loading));
}
if (wallclock() - bw->last_action < 100 && loading)
/* If less than 1 second since last link followed, show
* progress indicating pointer and we're loading something */