summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-18 22:25:03 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-18 22:25:03 +0100
commit5a2d4c6ddbb61c53cee48c721f9f21f111db219b (patch)
tree4fc81b8b4948f68fa11418f6e989dcc74a6eeafd /render
parent45755a9e0d991a116f2d53a0e178a4e3dc5d06e6 (diff)
downloadnetsurf-5a2d4c6ddbb61c53cee48c721f9f21f111db219b.tar.gz
netsurf-5a2d4c6ddbb61c53cee48c721f9f21f111db219b.tar.bz2
Group content messages that are passed on.
Diffstat (limited to 'render')
-rw-r--r--render/html.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/render/html.c b/render/html.c
index 1b49b84f0..134852fa2 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1230,7 +1230,7 @@ html_object_callback(hlcache_handle *object,
break;
case CONTENT_MSG_LINK:
- /* Don't care about favicons */
+ /* Don't care about favicons that aren't on top level content */
break;
case CONTENT_MSG_SCROLL:
@@ -1243,23 +1243,12 @@ html_object_callback(hlcache_handle *object,
break;
case CONTENT_MSG_DRAGSAVE:
- /* Pass it on */
- content_broadcast(&c->base, CONTENT_MSG_DRAGSAVE, event->data);
- break;
-
case CONTENT_MSG_SAVELINK:
- /* Pass it on */
- content_broadcast(&c->base, CONTENT_MSG_SAVELINK, event->data);
- break;
-
case CONTENT_MSG_POINTER:
- /* Pass it on */
- content_broadcast(&c->base, CONTENT_MSG_POINTER, event->data);
- break;
-
case CONTENT_MSG_PASTE:
- /* Pass it on */
- content_broadcast(&c->base, CONTENT_MSG_PASTE, event->data);
+ /* These messages are for browser window layer.
+ * we're not interested, so pass them on. */
+ content_broadcast(&c->base, event->type, event->data);
break;
default: