Gitweb links:

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

The branch, master has been updated
       via  8f0f44e3d10a29dc29a46ba6c5f938616241c5fb (commit)
      from  d2534e0e74dc3bd9122263fd6e59cd3b185ffbb2 (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/commit/?id=8f0f44e3d10a29dc29a46ba6c5f938616241c5fb
commit 8f0f44e3d10a29dc29a46ba6c5f938616241c5fb
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Treeview: Ignore mouse leaving the treeview window.

diff --git a/desktop/treeview.c b/desktop/treeview.c
index a33d7b4..1651ff5 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -4582,6 +4582,11 @@ treeview_mouse_action(treeview *tree, 
browser_mouse_state mouse, int x, int y)
        assert(tree != NULL);
        assert(tree->root != NULL);
 
+       /* Not interested in whether mouse leaves window. */
+       if (mouse == BROWSER_MOUSE_LEAVE) {
+               return;
+       }
+
        /* Handle mouse drag captured by textarea */
        if (tree->drag.type == TV_DRAG_TEXTAREA) {
                textarea_mouse_action(tree->edit.textarea, mouse,


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

Summary of changes:
 desktop/treeview.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/desktop/treeview.c b/desktop/treeview.c
index a33d7b4..1651ff5 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -4582,6 +4582,11 @@ treeview_mouse_action(treeview *tree, 
browser_mouse_state mouse, int x, int y)
        assert(tree != NULL);
        assert(tree->root != NULL);
 
+       /* Not interested in whether mouse leaves window. */
+       if (mouse == BROWSER_MOUSE_LEAVE) {
+               return;
+       }
+
        /* Handle mouse drag captured by textarea */
        if (tree->drag.type == TV_DRAG_TEXTAREA) {
                textarea_mouse_action(tree->edit.textarea, mouse,


-- 
NetSurf Browser

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

Reply via email to