Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/e2bcc5f5eb67815b2c9ec...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/e2bcc5f5eb67815b2c9ec64...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/e2bcc5f5eb67815b2c9ec6435...
The branch, master has been updated
via e2bcc5f5eb67815b2c9ec64357c4976e18080c48 (commit)
from 9a73da63473187502b7ff129645dd1fd731cafac (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=e2bcc5f5eb67815b2c9...
commit e2bcc5f5eb67815b2c9ec64357c4976e18080c48
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Tidy up pointer beyond scrollbars.
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 75b0416..f53d435 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2627,6 +2627,13 @@ textarea_mouse_status textarea_mouse_action(struct textarea *ta,
return status;
}
+ /* Might be outside textarea, and not dragging */
+ if ((x >= ta->vis_width || y >= ta->vis_height) &&
+ ta->drag_info.type == TEXTAREA_DRAG_NONE &&
+ ta->flags & TEXTAREA_MULTILINE) {
+ return status;
+ }
+
status |= TEXTAREA_MOUSE_EDITOR;
/* Mouse action is textarea's responsibility */
-----------------------------------------------------------------------
Summary of changes:
desktop/textarea.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 75b0416..f53d435 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2627,6 +2627,13 @@ textarea_mouse_status textarea_mouse_action(struct textarea *ta,
return status;
}
+ /* Might be outside textarea, and not dragging */
+ if ((x >= ta->vis_width || y >= ta->vis_height) &&
+ ta->drag_info.type == TEXTAREA_DRAG_NONE &&
+ ta->flags & TEXTAREA_MULTILINE) {
+ return status;
+ }
+
status |= TEXTAREA_MOUSE_EDITOR;
/* Mouse action is textarea's responsibility */
--
NetSurf Browser