Register a window configuration callback (Wayland2) to response properly