From 221cd56826f05208a6d4eb53c7900fd13dfa2430 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sat, 13 Oct 2012 22:23:19 +0200 Subject: Show mouse again after the color popup is ready. --- atari/settings.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/atari/settings.c b/atari/settings.c index 787eee70d..8143cdcc6 100644 --- a/atari/settings.c +++ b/atari/settings.c @@ -297,9 +297,6 @@ static colour color_popup(int x, int y, colour current) z++; } - /* hide the mouse */ - v_hide_c (app.graf.handle); - plot_set_dimensions(x, y, (GRID_COLS*boxwidth)+4, (GRID_ROWS*boxheight)+4); plot_lock(); @@ -338,10 +335,10 @@ static colour color_popup(int x, int y, colour current) xpos = 0; ypos += boxheight; } - } - - /* restore the mouse */ - v_show_c ( app.graf.handle, 1); + } + + // enable mouse cursor (screen keeps beeing locked): + graf_mouse(M_ON, NULL); /* fetch mouse event: */ mt_EvntDisable(&app, dlgwin, WM_XBUTTON); -- cgit v1.2.3