xwayland: Check emulation on client toplevel resize

When a reparented window is resized directly check the emulation instead of
doing this only when the window manager parent window is resized, what might
never happen.

For that to work we need to make sure that we compare the current size of the
client toplevel when looking for an emulated mode.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
3 jobs for xwl-emulation in 6 minutes and 45 seconds (queued for 1 second)
Status Name Job ID Coverage
  Docker Image
passed debian-testing #1267829


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


passed meson-build-and-test #1267831