Fix FS#12606 - next track can cause the screen to be cleared
commitcb9bc3bbc8a66c3d5296bfbc68f4487c39c6ac68
authorJonathan Gordon <rockbox@jdgordon.info>
Wed, 14 Mar 2012 11:16:58 +0000 (14 22:16 +1100)
committerJonathan Gordon <rockbox@jdgordon.info>
Wed, 14 Mar 2012 11:52:24 +0000 (14 22:52 +1100)
tree9350c7890142aa0c58cddf2cb30076ff30bf5b6d
parent47115ba8347f857fa5f59dc4326127e5849ea4eb
Fix FS#12606 - next track can cause the screen to be cleared

This is a bit of a hack. We now trigger an event when the skin engine
is doing a full redraw (which means fullscreen clear) before the
lcd_update() to give the current screen a chance to redraw to avoid the
screen flicker.

This commit fixes the issue for screens which are entirely the list
widget (i.e browser and menus), other screens will need aditional fixes
(i.e quickscreen, time&date screen)

Change-Id: I3ffdcd8ccad2c663732f8d5983049c837de00fe5
apps/appevents.h
apps/gui/list.c
apps/gui/skin_engine/skin_render.c