summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/content.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c
index 758a615ce..e78ead295 100644
--- a/content/content.c
+++ b/content/content.c
@@ -416,8 +416,14 @@ void content_mouse_track(hlcache_handle *h, struct browser_window *bw,
struct content *c = hlcache_handle_get_content(h);
assert(c != NULL);
- if (c->handler->mouse_track != NULL)
+ if (c->handler->mouse_track != NULL) {
c->handler->mouse_track(c, bw, mouse, x, y);
+ } else {
+ union content_msg_data msg_data;
+ msg_data.pointer = BROWSER_POINTER_AUTO;
+ content_broadcast(c, CONTENT_MSG_POINTER, msg_data);
+ }
+
return;
}