diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-12 10:41:33 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-14 09:28:50 +0200 |
commit | 2edc3d54627778e4248e924dec2f2d91f2e93ead (patch) | |
tree | 2836377e7d952ac86bf9469f88c5ff62213135f1 /tests | |
parent | cde1345d69f207b0b9d88633ad1a5076e48fa692 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/weston-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/weston-test.c b/tests/weston-test.c index afda7bc9..eec2c3c7 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -91,9 +91,9 @@ notify_pointer_position(struct weston_test *test, struct wl_resource *resource) } static void -test_surface_configure(struct weston_surface *surface, int32_t sx, int32_t sy) +test_surface_committed(struct weston_surface *surface, int32_t sx, int32_t sy) { - struct weston_test_surface *test_surface = surface->configure_private; + struct weston_test_surface *test_surface = surface->committed_private; struct weston_test *test = test_surface->test; if (wl_list_empty(&test_surface->view->layer_link.link)) @@ -118,7 +118,7 @@ move_surface(struct wl_client *client, struct wl_resource *resource, wl_resource_get_user_data(surface_resource); struct weston_test_surface *test_surface; - test_surface = surface->configure_private; + test_surface = surface->committed_private; if (!test_surface) { test_surface = malloc(sizeof *test_surface); if (!test_surface) { @@ -133,8 +133,8 @@ move_surface(struct wl_client *client, struct wl_resource *resource, return; } - surface->configure_private = test_surface; - surface->configure = test_surface_configure; + surface->committed_private = test_surface; + surface->committed = test_surface_committed; } test_surface->surface = surface; |