diff options
Diffstat (limited to 'apps/plugins')
| -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 1d8b9c1..630ea5a 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) { MENU_TEXT_STRAT_BLACK, MENU_TEXT_STRAT_WHITE, MENU_TEXT_WRAP_MODE, "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 + result = rb->do_menu(&menu, NULL, NULL, false); switch (result) { @@ -475,6 +480,11 @@ static bool reversi_gui_menu(void) { break; } +#ifdef HAVE_TOUCHSCREEN + /* Leaving the menu, set back to pointer mode */ + rb->touchscreen_set_mode(TOUCHSCREEN_POINT); +#endif + return (result == MENU_ATTACHED_USB); } |