LAB: Fix regression

This commit is contained in:
Eugene Sandulenko 2014-12-29 00:19:56 +01:00
parent 9a116c57e1
commit 80e00c1f54

View File

@ -229,6 +229,8 @@ bool mouseReset(void) {
/* Shows the mouse. */
/*****************************************************************************/
void mouseShow(void) {
mouseShowXY(CurMouseX, CurMouseY);
g_system->showMouse(true);
}
@ -248,6 +250,7 @@ void mouseShowXY(uint16 MouseX, uint16 MouseY) {
if ((NumHidden == 0) && MouseHidden) {
CurMouseX = MouseX;
CurMouseY = MouseY;
WSDL_ProcessInput(0);
MouseHidden = false;
}
@ -325,6 +328,7 @@ void mouseMove(uint16 x, uint16 y) {
if (!MouseHidden) {
QuitMouseHandler = true;
mouseXY(&CurMouseX, &CurMouseY);
WSDL_ProcessInput(0);
QuitMouseHandler = false;
}
}