libweston: Rename weston_surface::configure to ::committed

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
Acked-by: Giulio Camuffo <giulio.camuffo@kdab.com>

Differential Revision: https://phabricator.freedesktop.org/D1246
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 5f86d8a..60e9bd7 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -2524,7 +2524,7 @@
 	if (!shell_interface->create_shell_surface)
 		return;
 
-	if (window->surface->configure) {
+	if (window->surface->committed) {
 		weston_log("warning, unexpected in %s: "
 			   "surface's configure hook is already set.\n",
 			   __func__);