diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 1d8b9c1fed..630ea5a0e1 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c | |||
@@ -432,6 +432,11 @@ static bool reversi_gui_menu(void) { | |||
432 | MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE, | 432 | MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE, |
433 | MENU_TEXT_WRAP_MODE, "Playback Control", "Quit"); | 433 | MENU_TEXT_WRAP_MODE, "Playback Control", "Quit"); |
434 | 434 | ||
435 | #ifdef HAVE_TOUCHSCREEN | ||
436 | /* Entering Menu, set the touchscreen to the global setting */ | ||
437 | rb->touchscreen_set_mode(rb->global_settings->touch_mode); | ||
438 | #endif | ||
439 | |||
435 | result = rb->do_menu(&menu, NULL, NULL, false); | 440 | result = rb->do_menu(&menu, NULL, NULL, false); |
436 | 441 | ||
437 | switch (result) { | 442 | switch (result) { |
@@ -475,6 +480,11 @@ static bool reversi_gui_menu(void) { | |||
475 | break; | 480 | break; |
476 | } | 481 | } |
477 | 482 | ||
483 | #ifdef HAVE_TOUCHSCREEN | ||
484 | /* Leaving the menu, set back to pointer mode */ | ||
485 | rb->touchscreen_set_mode(TOUCHSCREEN_POINT); | ||
486 | #endif | ||
487 | |||
478 | return (result == MENU_ATTACHED_USB); | 488 | return (result == MENU_ATTACHED_USB); |
479 | } | 489 | } |
480 | 490 | ||