Redraw core select menu after selection

Michael Drake tlsa at
Sun Feb 26 11:08:40 GMT 2012

In article
<OUT-4F4A0E39.MD-1.4.17.chris.young at>,
   Chris Young <chris.young at> wrote:
> Hi

> Where is the code to redraw the core select menu, after the user has
> selected something?  I can see where it clears the menu area (line 220
> of html_interaction.c), but it doesn't redraw the original form item
> at that point.  It is getting redrawn somewhere else though, as I'm
> getting artifacts from old redraws over the area, but it doesn't
> update as it should.

In render/form.c, in at the end of form_select_process_selection() it
calls html_redraw_a_box() to redraw the actual select form element box
with the new text.


Michael Drake (tlsa)        

More information about the netsurf-dev mailing list