summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-11-11 21:34:46 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-11-11 21:54:15 +0000
commit8e1154eb1cef4e102504fae25fb9805040d37226 (patch)
tree92c1f50c04edf0d6ae741f671e1994df13150a8c /content/content.c
parentdb7f1f01a97cb9a26cbe6433542d7d6b25940929 (diff)
downloadnetsurf-8e1154eb1cef4e102504fae25fb9805040d37226.tar.gz
netsurf-8e1154eb1cef4e102504fae25fb9805040d37226.tar.bz2
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.
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c8
1 files changed, 0 insertions, 8 deletions
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);
}