From 8e1154eb1cef4e102504fae25fb9805040d37226 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 11 Nov 2019 21:34:46 +0000 Subject: Content: Remove redundant and unused redraw message fields. This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. --- content/content.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 385847daf..82a87c536 100644 --- a/content/content.c +++ b/content/content.c @@ -538,14 +538,6 @@ void content__request_redraw(struct content *c, data.redraw.width = width; data.redraw.height = height; - data.redraw.full_redraw = true; - - data.redraw.object = c; - data.redraw.object_x = 0; - data.redraw.object_y = 0; - data.redraw.object_width = c->width; - data.redraw.object_height = c->height; - content_broadcast(c, CONTENT_MSG_REDRAW, &data); } -- cgit v1.2.3