xwayland: Take border width into account

Damage coordinates are relative to the drawable, (0,0) being the top
left corner inside the border.

Therefore, when applying damages or accumulating damages between window
buffers, we need to take the window border width into account as well,
otherwise the updates might be only partial or misplaced.

Related: xorg/xserver#951
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
3 jobs for issue951 in 4 minutes and 2 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #1145066
debian-testing

00:00:20

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

00:03:42

passed #1145068
meson-build-and-test

00:01:16