summaryrefslogtreecommitdiff
path: root/atari/settings.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-10-13 22:23:19 +0200
committerOle Loots <ole@monochrom.net>2012-10-13 22:23:19 +0200
commit221cd56826f05208a6d4eb53c7900fd13dfa2430 (patch)
treeea25c2d71121404b23e3549a9b4ae3150ea4ff54 /atari/settings.c
parent340e958ebcf9e79de3ae63e0ff0e2fc99fc75b12 (diff)
downloadnetsurf-221cd56826f05208a6d4eb53c7900fd13dfa2430.tar.gz
netsurf-221cd56826f05208a6d4eb53c7900fd13dfa2430.tar.bz2
Show mouse again after the color popup is ready.
Diffstat (limited to 'atari/settings.c')
-rw-r--r--atari/settings.c11
1 files 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);