xserver: Fix a typo

If `need_rotate` is TRUE, we should check for the right rotate.
3 jobs for fix-typo in 5 minutes and 55 seconds (queued for 1 second)
Status Name Job ID Coverage
  Docker Image
passed debian-testing #759026

00:00:22

 
  Build And Test
passed autotools-build-and-test #759027

00:05:32

passed meson-build-and-test #759028

00:01:37