Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/cb9781e057c4da81f014de9a5a560dd80e5543d1
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/cb9781e057c4da81f014de9a5a560dd80e5543d1
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/cb9781e057c4da81f014de9a5a560dd80e5543d1

The branch, master has been updated
       via  cb9781e057c4da81f014de9a5a560dd80e5543d1 (commit)
      from  f04845b2cf3aaa6b15dbaa2acaa20197075d3234 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commitdiff/cb9781e057c4da81f014de9a5a560dd80e5543d1
commit cb9781e057c4da81f014de9a5a560dd80e5543d1
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Move bw time recording to bw layer.

diff --git a/desktop/browser.c b/desktop/browser.c
index 95edf1d..af2c2ff 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -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();
 }
 
 
diff --git a/render/html_interaction.c b/render/html_interaction.c
index e013b54..6be3e5e 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -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);


-----------------------------------------------------------------------

Summary of changes:
 desktop/browser.c         |    3 +++
 render/html_interaction.c |    4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/desktop/browser.c b/desktop/browser.c
index 95edf1d..af2c2ff 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -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();
 }
 
 
diff --git a/render/html_interaction.c b/render/html_interaction.c
index e013b54..6be3e5e 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -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);


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to