Xi: lock the input thread for any pointer barrier list manipulation

The input thread checks the barriers for pointer positioning, swapping the
list out from underneath is considered impolite.

Reported-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2 jobs for wip/pointer-barrier-locks in 1 minute and 53 seconds (queued for 1 minute and 48 seconds)
Status Job ID Name Coverage
  Docker Image
passed #115439
debian-testing

00:00:36

 
  Build And Test
passed #115440
build-and-test

00:01:16