gfx.c
changeset 3312 d28f88dc5587
parent 3252 7e4633d205b4
child 3797 db2306464bbe
equal deleted inserted replaced
3311:138e38fa6fda 3312:d28f88dc5587
  1652 	int x;
  1652 	int x;
  1653 	int y;
  1653 	int y;
  1654 	int w;
  1654 	int w;
  1655 	int h;
  1655 	int h;
  1656 
  1656 
       
  1657 	/* Redraw mouse cursor but only when it's inside the window */
       
  1658 	if (!_cursor.in_window) return;
       
  1659 
  1657 	// Don't draw the mouse cursor if it's already drawn
  1660 	// Don't draw the mouse cursor if it's already drawn
  1658 	if (_cursor.visible) {
  1661 	if (_cursor.visible) {
  1659 		if (!_cursor.dirty) return;
  1662 		if (!_cursor.dirty) return;
  1660 		UndrawMouseCursor();
  1663 		UndrawMouseCursor();
  1661 	}
  1664 	}