1. A method, for treating a structure in an eye, comprising: engaging, with an eye holder, an outer surface of an eye during a treatment period to maintain the eye in substantially a fixed position during the treatment period; and emitting an x-ray beam from an x-ray source toward the structure based on a determination of whether the eye is in substantially the fixed position during the treatment period.