From 357e8a8ad289d8b12ab1f5b89ef07383487381e2 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 3 Aug 2019 21:57:25 +0100 Subject: remove unnecessary browser_window_redraw_rect interface --- content/handlers/html/html_interaction.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'content/handlers') 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; } -- cgit v1.2.3