diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-03 02:58:58 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-03 02:58:58 +0000 |
| commit | f01115472814d79458cc165e85479124ad444826 (patch) | |
| tree | 68706c7722193c8baa20b249e9f0b59a7586b60a /apps | |
| parent | 4bc16462639e01fbf6f435330cbabe10321d91ae (diff) | |
| download | rockbox-f01115472814d79458cc165e85479124ad444826.zip rockbox-f01115472814d79458cc165e85479124ad444826.tar.gz rockbox-f01115472814d79458cc165e85479124ad444826.tar.bz2 rockbox-f01115472814d79458cc165e85479124ad444826.tar.xz | |
Clix: Forgot ifdefs around touchscreen_set_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/clix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c index be60bdd..26a979a 100644 --- a/apps/plugins/clix.c +++ b/apps/plugins/clix.c @@ -609,8 +609,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame) "Playback Control", "Quit"); +#ifdef HAVE_TOUCHSCREEN /* Entering Menu, set the touchscreen to the global setting */ rb->touchscreen_set_mode(rb->global_settings->touch_mode); +#endif while (!leave_menu) { @@ -646,8 +648,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame) } } +#ifdef HAVE_TOUCHSCREEN /* Leaving the menu, set back to pointer mode */ rb->touchscreen_set_mode(TOUCHSCREEN_POINT); +#endif return ret; } |