Don't trigger a skin refresh from skinlist_draw()
Thiskin refresh trigger apparently causes the skin and list to continuously refresh, with the side effect that buttons no longer work. Change-Id: I4439406176890ac46a3f217bfff43c6935a03a7c Reviewed-on: http://gerrit.rockbox.org/240 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
This commit is contained in:
parent
789452ac44
commit
053722a573
1 changed files with 1 additions and 4 deletions
|
@ -177,6 +177,7 @@ bool skinlist_draw(struct screen *display, struct gui_synclist *list)
|
|||
struct gui_wps wps;
|
||||
if (!skinlist_is_configured(screen, list))
|
||||
return false;
|
||||
|
||||
current_list = list;
|
||||
wps.display = display;
|
||||
wps.data = listcfg[screen]->data;
|
||||
|
@ -265,10 +266,6 @@ bool skinlist_draw(struct screen *display, struct gui_synclist *list)
|
|||
display->set_viewport(parent);
|
||||
display->update_viewport();
|
||||
current_drawing_line = list->selected_item;
|
||||
#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
|
||||
/* Abuse the callback to force the sbs to update */
|
||||
send_event(LCD_EVENT_ACTIVATION, NULL);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue