summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-03 21:57:25 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-03 21:58:21 +0100
commit357e8a8ad289d8b12ab1f5b89ef07383487381e2 (patch)
tree4fbbe68918bcf98fe0c16e4032cf403171932a36 /content/handlers
parent4e95b7aedfcf3f18d1b21b3c5d68078539fe844f (diff)
downloadnetsurf-357e8a8ad289d8b12ab1f5b89ef07383487381e2.tar.gz
netsurf-357e8a8ad289d8b12ab1f5b89ef07383487381e2.tar.bz2
remove unnecessary browser_window_redraw_rect interface
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/html/html_interaction.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/handlers/html/html_interaction.c b/content/handlers/html/html_interaction.c
index 992796c25..5f165e362 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -412,11 +412,13 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
content_broadcast(c, CONTENT_MSG_STATUS, &msg_data);
} else {
int width, height;
+ struct hlcache_handle *bw_content;
form_select_get_dimensions(html->visible_select_menu,
&width, &height);
html->visible_select_menu = NULL;
- browser_window_redraw_rect(bw, box_x, box_y,
- width, height);
+ bw_content = browser_window_get_content(bw);
+ content_request_redraw(bw_content,box_x, box_y,
+ width, height);
}
return;
}