forked from len0rd/rockbox
Fix touchscreens so entering the WPS with a skin with no touchregions reverts to grid mode (caused by r30991)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31156 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
694502a965
commit
a55982d130
1 changed files with 1 additions and 1 deletions
|
|
@ -688,7 +688,7 @@ static void gwps_enter_wps(void)
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
gwps = skin_get_gwps(WPS, SCREEN_MAIN);
|
gwps = skin_get_gwps(WPS, SCREEN_MAIN);
|
||||||
skin_disarm_touchregions(gwps->data);
|
skin_disarm_touchregions(gwps->data);
|
||||||
if (!gwps->data->touchregions)
|
if (gwps->data->touchregions < 0)
|
||||||
touchscreen_set_mode(TOUCHSCREEN_BUTTON);
|
touchscreen_set_mode(TOUCHSCREEN_BUTTON);
|
||||||
#endif
|
#endif
|
||||||
/* force statusbar/skin update since we just cleared the whole screen */
|
/* force statusbar/skin update since we just cleared the whole screen */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue