unconditioannly show the main/base skins backdrop when enabling the theme so plugins show the correct backdrop in menus

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24568 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-02-08 17:19:15 +00:00
parent ba45adbafc
commit 9955e9a7df

View file

@ -111,6 +111,9 @@ static void toggle_theme(enum screen_type screen, bool force)
{ {
/* remove the left overs from the previous screen. /* remove the left overs from the previous screen.
* could cause a tiny flicker. Redo your screen code if that happens */ * could cause a tiny flicker. Redo your screen code if that happens */
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
screens[i].backdrop_show(sb_get_backdrop(i));
#endif
if (!was_enabled[screen] || force) if (!was_enabled[screen] || force)
{ {
struct viewport deadspace, user; struct viewport deadspace, user;