Only try and forward input if a flag is set.