cleanup of obsolete client message event from SDL 1.2
[rocksndiamonds.git] / src / libgame / system.c
index 488e838e8c4b82650edbcd48caee246420f1c6d8..fc1e0c69110c72a49170dafc92b5db92fa1e9e38 100644 (file)
@@ -317,6 +317,8 @@ void InitGfxCustomArtworkInfo(void)
 void InitGfxOtherSettings(void)
 {
   gfx.cursor_mode = CURSOR_DEFAULT;
+  gfx.mouse_x = 0;
+  gfx.mouse_y = 0;
 }
 
 void InitTileCursorInfo(void)
@@ -1731,14 +1733,6 @@ void StopTextInput(void)
 #endif
 }
 
-boolean CheckCloseWindowEvent(ClientMessageEvent *event)
-{
-  if (event->type != EVENT_CLIENTMESSAGE)
-    return FALSE;
-
-  return TRUE;         // the only possible message here is SDL_QUIT
-}
-
 
 // ============================================================================
 // joystick functions