summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c
index 3ee85b419..00992967e 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1229,6 +1229,15 @@ html_object_callback(hlcache_handle *object,
/* Don't care about favicons */
break;
+ case CONTENT_MSG_SCROLL:
+ if (box->scroll_x != NULL)
+ scrollbar_set(box->scroll_x, event->data.scroll.x0,
+ false);
+ if (box->scroll_y != NULL)
+ scrollbar_set(box->scroll_y, event->data.scroll.y0,
+ false);
+ break;
+
default:
assert(0);
}