diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-03 21:57:25 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-03 21:58:21 +0100 |
commit | 357e8a8ad289d8b12ab1f5b89ef07383487381e2 (patch) | |
tree | 4fbbe68918bcf98fe0c16e4032cf403171932a36 /content | |
parent | 4e95b7aedfcf3f18d1b21b3c5d68078539fe844f (diff) | |
download | netsurf-357e8a8ad289d8b12ab1f5b89ef07383487381e2.tar.gz netsurf-357e8a8ad289d8b12ab1f5b89ef07383487381e2.tar.bz2 |
remove unnecessary browser_window_redraw_rect interface
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/html/html_interaction.c | 6 |
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; } |