Move bw time recording to bw layer.

This commit is contained in:
Michael Drake 2012-08-16 21:35:42 +01:00
parent f04845b2cf
commit cb9781e057
2 changed files with 3 additions and 4 deletions

View File

@ -1003,6 +1003,9 @@ void browser_window_go_post(struct browser_window *bw, const char *url,
warn_user("NoMemory", 0);
}
/* Record time */
bw->last_action = wallclock();
}

View File

@ -696,10 +696,6 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
}
}
if (action == ACTION_SUBMIT || action == ACTION_GO)
bw->last_action = wallclock();
if (status != NULL) {
msg_data.explicit_status_text = status;
content_broadcast(c, CONTENT_MSG_STATUS, msg_data);