This work deals with state feedback compensation of disturbance inputs in continuous-time switched linear systems, with the requirement that the closed-loop systems be exponentially stable under switching signals with a sufficiently large dwell-time. Constructive conditions for the problem to be solvable are shown, on the assumption that the given switched linear system has zero initial state. The effects of nonzero initial states are inspected. The theoretical background consists of both classic and novel ideas of the geometric approach, enhanced with notions specifically oriented to switched linear systems