XdgSurfaceStable: Fix configure event logic

We have a test, further down the file, testing that attaching a buffer to
an `xdg_surface` before the first commit throws a protocol error.

Fix `gets_configure_event` to not attach a buffer to an `xdg_surface`
before the first commit 🤦‍♀️.

Fixes: #312
1 file changed