1. An information processing apparatus, which has a touch-sensitive panel, for processing a gesture input performed via the touch-sensitive panel, said apparatus comprising: an acceptance unit configured to accept from a user, in a first processing state, an instruction to transition to a second processing state; a setting unit configured to set a number of gesture-input-based operations in accordance with the instruction accepted by said acceptance unit; and a processing unit configured to execute, after the instruction has been accepted by said acceptance unit, corresponding processing as a gesture input in the second processing state with regard to gesture inputs of the number of operations set by said setting unit, and to execute corresponding processing as a gesture input in the first processing state with regard to a gesture input after the gesture inputs of the number of operations have been performed.