mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-12 01:53:09 +03:00
Move bw time recording to bw layer.
This commit is contained in:
parent
f04845b2cf
commit
cb9781e057
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user