diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-04-28 11:19:27 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-04-30 20:48:55 -0700 |
commit | d67b52a5017f2cffe5bd7791315d31b3d741033b (patch) | |
tree | f903cd582ce0ed50ffc780afa2eb62337bf7bd2d | |
parent | 6d50b0f2a1bec779b5dc89a286dc6d780c6fd913 (diff) | |
download | weston-d67b52a5017f2cffe5bd7791315d31b3d741033b.tar.gz |
compositor: Fix the documentation for surface->configure
It's called on commit, not on attach. Additionally, correct the
interface name to be wl_surface, not surface.
-rw-r--r-- | src/compositor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compositor.h b/src/compositor.h index 1fb5ffa5..1997e54b 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -910,9 +910,10 @@ struct weston_surface { } pending; /* - * If non-NULL, this function will be called on surface::attach after - * a new buffer has been set up for this surface. The integer params - * are the sx and sy paramerters supplied to surface::attach . + * If non-NULL, this function will be called on + * wl_surface::commit after a new buffer has been set up for + * this surface. The integer params are the sx and sy + * parameters supplied to wl_surface::attach. */ void (*configure)(struct weston_surface *es, int32_t sx, int32_t sy); void *configure_private; |