libweston: Rename weston_surface::configure to ::committed
[platform/upstream/weston.git] / xwayland / window-manager.c
index 5f86d8a..60e9bd7 100644 (file)
@@ -2524,7 +2524,7 @@ xserver_map_shell_surface(struct weston_wm_window *window,
        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__);