it actually need $X_2 f_p$, where $f_p$ is the rhs of the (discrete) continuity equation. For the driven cavity the BCs are 'divergence free' and thus $f_p=0$... This may not hold for other setups.