Show mouse again after the color popup is ready.

This commit is contained in:
Ole Loots 2012-10-13 22:23:19 +02:00
parent 340e958ebc
commit 221cd56826

View File

@ -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);