diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-05-17 21:25:50 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-05-18 09:48:31 +0200 |
commit | 053722a57382d4203e28f26ef59ed2f4ab0352d6 (patch) | |
tree | 51db2b0c32f9dadbd0642d0688f87fe43b51ba00 /apps/gui/bitmap/list-skinned.c | |
parent | 789452ac44ee37104def294c8f69e81aeb434e97 (diff) | |
download | rockbox-053722a57382d4203e28f26ef59ed2f4ab0352d6.tar.gz rockbox-053722a57382d4203e28f26ef59ed2f4ab0352d6.zip |
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>
Diffstat (limited to 'apps/gui/bitmap/list-skinned.c')
-rw-r--r-- | apps/gui/bitmap/list-skinned.c | 5 |
1 files changed, 1 insertions, 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) | |||
177 | struct gui_wps wps; | 177 | struct gui_wps wps; |
178 | if (!skinlist_is_configured(screen, list)) | 178 | if (!skinlist_is_configured(screen, list)) |
179 | return false; | 179 | return false; |
180 | |||
180 | current_list = list; | 181 | current_list = list; |
181 | wps.display = display; | 182 | wps.display = display; |
182 | wps.data = listcfg[screen]->data; | 183 | wps.data = listcfg[screen]->data; |
@@ -265,10 +266,6 @@ bool skinlist_draw(struct screen *display, struct gui_synclist *list) | |||
265 | display->set_viewport(parent); | 266 | display->set_viewport(parent); |
266 | display->update_viewport(); | 267 | display->update_viewport(); |
267 | current_drawing_line = list->selected_item; | 268 | current_drawing_line = list->selected_item; |
268 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) | ||
269 | /* Abuse the callback to force the sbs to update */ | ||
270 | send_event(LCD_EVENT_ACTIVATION, NULL); | ||
271 | #endif | ||
272 | return true; | 269 | return true; |
273 | } | 270 | } |
274 | 271 | ||