Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/75212235f8064d1d263132aca4049ceec342ae9a
...commit
http://git.netsurf-browser.org/netsurf.git/commit/75212235f8064d1d263132aca4049ceec342ae9a
...tree
http://git.netsurf-browser.org/netsurf.git/tree/75212235f8064d1d263132aca4049ceec342ae9a
The branch, master has been updated
via 75212235f8064d1d263132aca4049ceec342ae9a (commit)
from 40a754a362723d332512c59beaad089c740e5ce6 (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/75212235f8064d1d263132aca4049ceec342ae9a
commit 75212235f8064d1d263132aca4049ceec342ae9a
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Cleanup drag end.
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index b098702..652c5b8 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -653,7 +653,9 @@ fb_browser_window_click(fbtk_widget_t *widget,
fbtk_callback_info *cbi)
if (gui_drag.state == GUI_DRAG_DRAG) {
/* End of a drag, rather than click */
gui_drag.state = GUI_DRAG_NONE;
- framebuffer_set_cursor(&pointer_image);
+
+ /* Tell core */
+ browser_window_mouse_track(gw->bw, 0, x, y);
break;
}
/* This is a click;
@@ -667,6 +669,9 @@ fb_browser_window_click(fbtk_widget_t *widget,
fbtk_callback_info *cbi)
if (gui_drag.state == GUI_DRAG_DRAG) {
/* End of a drag, rather than click */
gui_drag.state = GUI_DRAG_NONE;
+
+ /* Tell core */
+ browser_window_mouse_track(gw->bw, 0, x, y);
break;
}
/* This is a click;
-----------------------------------------------------------------------
Summary of changes:
framebuffer/gui.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index b098702..652c5b8 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -653,7 +653,9 @@ fb_browser_window_click(fbtk_widget_t *widget,
fbtk_callback_info *cbi)
if (gui_drag.state == GUI_DRAG_DRAG) {
/* End of a drag, rather than click */
gui_drag.state = GUI_DRAG_NONE;
- framebuffer_set_cursor(&pointer_image);
+
+ /* Tell core */
+ browser_window_mouse_track(gw->bw, 0, x, y);
break;
}
/* This is a click;
@@ -667,6 +669,9 @@ fb_browser_window_click(fbtk_widget_t *widget,
fbtk_callback_info *cbi)
if (gui_drag.state == GUI_DRAG_DRAG) {
/* End of a drag, rather than click */
gui_drag.state = GUI_DRAG_NONE;
+
+ /* Tell core */
+ browser_window_mouse_track(gw->bw, 0, x, y);
break;
}
/* This is a click;
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org