diff --git a/wayland_xdg_egl.c b/wayland_xdg_egl.c index 9a50e48..10f33d8 100755 --- a/wayland_xdg_egl.c +++ b/wayland_xdg_egl.c @@ -26,8 +26,8 @@ exit 0 ** ** (1) /ch04.html#sect-Protocol-Code-Generation ** " The interfaces, requests and events are defined in - ** protocol/wayland.xml. This xml is used to generate the function - ** prototypes that can be used by clients and compositors. " +** protocol/wayland.xml. This xml is used to generate the function +** prototypes that can be used by clients and compositors. " ** ** (1) /ch04.html#sect-Protocol-Basic-Principles ** " The Wayland protocol is an asynchronous object oriented protocol. @@ -45,7 +45,7 @@ exit 0 **~ From the client's perspective: **~ **~ A request `R(...)` on an object interface `O` becomes the - **~ function `O_R(O *obj, ...)`. +**~ function `O_R(O *obj, ...)`. **~ ! Sometimes the arguments for `R(...)` include an argument that **~ doesn't appear to have a documented type (at least in (1)). **~ We can also refer to the xml and see such arguments have @@ -132,7 +132,7 @@ const struct xdg_wm_base_listener xdg_wm_base_listener = { /* (2) xdg_surface::configure ** " marks the end of a configure sequence ... - ** Clients should arrange their surface for the new states, and then +** Clients should arrange their surface for the new states, and then ** send an ack_configure request with the serial sent in this ** configure event at some point before committing the new surface. " */ @@ -151,7 +151,7 @@ const struct xdg_surface_listener xdg_surface_listener = { /* (2) xdg_toplevel::configure ** " This configure event asks the client to resize its toplevel surface ** or to change its state. The configured state should not be applied - ** immediately. See xdg_surface.configure for details. " +** immediately. See xdg_surface.configure for details. " ** @see:(xdg_surface::configure) */ static void @@ -423,8 +423,8 @@ int main(){ /* (1) Appendix A: wl_region::set_opaque_region ** " The opaque region is an optimization hint for the compositor - ** that lets it optimize out redrawing of content behind opaque - ** regions. " + ** that lets it optimize out redrawing of content behind opaque + ** regions. " */ wl_surface_set_opaque_region(ctx.wl_surface, ctx.wl_region);