Combination of a sliding valve and a lift valve