From f01115472814d79458cc165e85479124ad444826 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Mon, 3 Aug 2009 02:58:58 +0000 Subject: Clix: Forgot ifdefs around touchscreen_set_mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/clix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/clix.c') diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c index be60bdde7a..26a979ac54 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; } -- cgit v1.2.3