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.
This commit is contained in:
committed by
Kristian Høgsberg
parent
6d50b0f2a1
commit
d67b52a501
+4
-3
@@ -910,9 +910,10 @@ struct weston_surface {
|
|||||||
} pending;
|
} pending;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If non-NULL, this function will be called on surface::attach after
|
* If non-NULL, this function will be called on
|
||||||
* a new buffer has been set up for this surface. The integer params
|
* wl_surface::commit after a new buffer has been set up for
|
||||||
* are the sx and sy paramerters supplied to surface::attach .
|
* 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)(struct weston_surface *es, int32_t sx, int32_t sy);
|
||||||
void *configure_private;
|
void *configure_private;
|
||||||
|
|||||||
Reference in New Issue
Block a user