From 053722a57382d4203e28f26ef59ed2f4ab0352d6 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Thu, 17 May 2012 21:25:50 +0200 Subject: 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 --- apps/gui/bitmap/list-skinned.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/gui/bitmap/list-skinned.c b/apps/gui/bitmap/list-skinned.c index 7d3620ed81..81ef6fc18f 100644 --- a/apps/gui/bitmap/list-skinned.c +++ b/apps/gui/bitmap/list-skinned.c @@ -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; } -- cgit v1.2.3