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/libweston/input.c b/libweston/input.c
index 4ed08fd..9697b4a 100644
--- a/libweston/input.c
+++ b/libweston/input.c
@@ -1002,8 +1002,8 @@
 		weston_surface_unmap(surface);
 
 	wl_list_remove(&pointer->sprite_destroy_listener.link);
-	surface->configure = NULL;
-	surface->configure_private = NULL;
+	surface->committed = NULL;
+	surface->committed_private = NULL;
 	weston_surface_set_label_func(surface, NULL);
 	weston_view_destroy(pointer->sprite);
 	pointer->sprite = NULL;
@@ -2262,10 +2262,10 @@
 }
 
 static void
-pointer_cursor_surface_configure(struct weston_surface *es,
+pointer_cursor_surface_committed(struct weston_surface *es,
 				 int32_t dx, int32_t dy)
 {
-	struct weston_pointer *pointer = es->configure_private;
+	struct weston_pointer *pointer = es->committed_private;
 	int x, y;
 
 	if (es->width == 0)
@@ -2338,8 +2338,8 @@
 		wl_signal_add(&surface->destroy_signal,
 			      &pointer->sprite_destroy_listener);
 
-		surface->configure = pointer_cursor_surface_configure;
-		surface->configure_private = pointer;
+		surface->committed = pointer_cursor_surface_committed;
+		surface->committed_private = pointer;
 		weston_surface_set_label_func(surface,
 					    pointer_cursor_surface_get_label);
 		pointer->sprite = weston_view_create(surface);
@@ -2349,7 +2349,7 @@
 	pointer->hotspot_y = y;
 
 	if (surface->buffer_ref.buffer) {
-		pointer_cursor_surface_configure(surface, 0, 0);
+		pointer_cursor_surface_committed(surface, 0, 0);
 		weston_view_schedule_repaint(pointer->sprite);
 	}
 }