diff options
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/render/html.c b/render/html.c index ddf097cb3..1e50a77fb 100644 --- a/render/html.c +++ b/render/html.c @@ -503,7 +503,7 @@ bool html_head(struct content *c, xmlNode *head) for (node = head->children; node != 0; node = node->next) { if (node->type != XML_ELEMENT_NODE) continue; - + LOG(("Node: %s", node->name)); if (!c->title && strcmp(node->name, "title") == 0) { xmlChar *title = xmlNodeGetContent(node); @@ -1141,6 +1141,8 @@ void html_object_callback(content_msg msg, struct content *object, break; case CONTENT_MSG_REDRAW: + if (!box_visible(box)) + break; box_coords(box, &x, &y); if (object == data.redraw.object) { data.redraw.x = data.redraw.x * |