This reverts commit 3d0bdc56.
seat->setFocusedPointerSurface() before notifyPointerMotion() is needed to prevent sending a motion event that's outside the previously focused surface.
BUG: 449273
The credit for discovery of this issue goes to Fabian Vogt (@fvogt)