docs: Improve wl_region protocol docs

Just cosmetic changes, a few missing periods, and ID was
not capitalized.
This commit is contained in:
Matthias Clasen 2013-03-30 01:11:45 -04:00 committed by Kristian Høgsberg
parent 4c94024af5
commit ab6d96c8c4

View file

@ -1552,18 +1552,21 @@
<interface name="wl_region" version="1"> <interface name="wl_region" version="1">
<description summary="region interface"> <description summary="region interface">
Region. A region object describes an area.
Region objects are used to describe the opaque and input
regions of a surface.
</description> </description>
<request name="destroy" type="destructor"> <request name="destroy" type="destructor">
<description summary="destroy region"> <description summary="destroy region">
Destroy the region. This will invalidate the object id. Destroy the region. This will invalidate the object ID.
</description> </description>
</request> </request>
<request name="add"> <request name="add">
<description summary="add rectangle to region"> <description summary="add rectangle to region">
Add the specified rectangle to the region Add the specified rectangle to the region.
</description> </description>
<arg name="x" type="int"/> <arg name="x" type="int"/>
@ -1574,7 +1577,7 @@
<request name="subtract"> <request name="subtract">
<description summary="subtract rectangle from region"> <description summary="subtract rectangle from region">
Subtract the specified rectangle from the region Subtract the specified rectangle from the region.
</description> </description>
<arg name="x" type="int"/> <arg name="x" type="int"/>