mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-10 08:21:15 -04:00
Spelling fixes (cosmetic)
A few typos in comments and protocol docs, no code changes. ./src/wayland-util.h:281: recieved ==> received ./src/wayland-client.c:115: occured ==> occurred ./src/wayland-client.c:156: occured ==> occurred ./tests/test-compositor.c:76: parallely ==> parallelly ./tests/test-compositor.c:474: recieve ==> receive ./protocol/wayland.xml:1767: layed ==> laid ./protocol/wayland.xml:2112: dependant ==> dependent ./doc/publican/sources/Client.xml:25: recieved ==> received Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Bill Spitzak <spitzak@gmail.com>
This commit is contained in:
parent
e16ee74e47
commit
439b0a3863
5 changed files with 8 additions and 8 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
created and manages each open connection to a server. At least one
|
created and manages each open connection to a server. At least one
|
||||||
<link linkend="Client-classwl__event__queue">wl_event_queue</link>
|
<link linkend="Client-classwl__event__queue">wl_event_queue</link>
|
||||||
object is created for each wl_display, this holds events as they
|
object is created for each wl_display, this holds events as they
|
||||||
are recieved from the server until they can be
|
are received from the server until they can be
|
||||||
processed. Multi-threading is supported by creating an additional
|
processed. Multi-threading is supported by creating an additional
|
||||||
wl_event_queue for each additional thread, each object can have
|
wl_event_queue for each additional thread, each object can have
|
||||||
it's events placed in a particular queue, so potentially a
|
it's events placed in a particular queue, so potentially a
|
||||||
|
|
|
||||||
|
|
@ -1764,7 +1764,7 @@
|
||||||
<enum name="subpixel">
|
<enum name="subpixel">
|
||||||
<description summary="subpixel geometry information">
|
<description summary="subpixel geometry information">
|
||||||
This enumeration describes how the physical
|
This enumeration describes how the physical
|
||||||
pixels on an output are layed out.
|
pixels on an output are laid out.
|
||||||
</description>
|
</description>
|
||||||
<entry name="unknown" value="0"/>
|
<entry name="unknown" value="0"/>
|
||||||
<entry name="none" value="1"/>
|
<entry name="none" value="1"/>
|
||||||
|
|
@ -2113,7 +2113,7 @@
|
||||||
<request name="set_sync">
|
<request name="set_sync">
|
||||||
<description summary="set sub-surface to synchronized mode">
|
<description summary="set sub-surface to synchronized mode">
|
||||||
Change the commit behaviour of the sub-surface to synchronized
|
Change the commit behaviour of the sub-surface to synchronized
|
||||||
mode, also described as the parent dependant mode.
|
mode, also described as the parent dependent mode.
|
||||||
|
|
||||||
In synchronized mode, wl_surface.commit on a sub-surface will
|
In synchronized mode, wl_surface.commit on a sub-surface will
|
||||||
accumulate the committed state in a cache, but the state will
|
accumulate the committed state in a cache, but the state will
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ static int debug_client = 0;
|
||||||
/**
|
/**
|
||||||
* This helper function wakes up all threads that are
|
* This helper function wakes up all threads that are
|
||||||
* waiting for display->reader_cond (i. e. when reading is done,
|
* waiting for display->reader_cond (i. e. when reading is done,
|
||||||
* canceled, or an error occured)
|
* canceled, or an error occurred)
|
||||||
*
|
*
|
||||||
* NOTE: must be called with display->mutex locked
|
* NOTE: must be called with display->mutex locked
|
||||||
*/
|
*/
|
||||||
|
|
@ -153,7 +153,7 @@ display_fatal_error(struct wl_display *display, int error)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is called for error events
|
* This function is called for error events
|
||||||
* and indicates that in some object an error occured.
|
* and indicates that in some object an error occurred.
|
||||||
* Difference between this function and display_fatal_error()
|
* Difference between this function and display_fatal_error()
|
||||||
* is that this one handles errors that will come by wire,
|
* is that this one handles errors that will come by wire,
|
||||||
* whereas display_fatal_error() is called for local errors.
|
* whereas display_fatal_error() is called for local errors.
|
||||||
|
|
|
||||||
|
|
@ -278,7 +278,7 @@ union wl_argument {
|
||||||
* object on which the callback is being invoked (either wl_proxy or
|
* object on which the callback is being invoked (either wl_proxy or
|
||||||
* wl_resource). The third and fourth arguments are the opcode the wl_messsage
|
* wl_resource). The third and fourth arguments are the opcode the wl_messsage
|
||||||
* structure corresponding to the callback being emitted. The final argument
|
* structure corresponding to the callback being emitted. The final argument
|
||||||
* is an array of arguments recieved from the other process via the wire
|
* is an array of arguments received from the other process via the wire
|
||||||
* protocol.
|
* protocol.
|
||||||
*/
|
*/
|
||||||
typedef int (*wl_dispatcher_func_t)(const void *, void *, uint32_t,
|
typedef int (*wl_dispatcher_func_t)(const void *, void *, uint32_t,
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ enum {
|
||||||
DISPLAY_RESUMED = 0
|
DISPLAY_RESUMED = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Since tests can run parallely, we need unique socket names
|
/* Since tests can run parallelly, we need unique socket names
|
||||||
* for each test, otherwise the test can fail on wl_display_add_socket. */
|
* for each test, otherwise the test can fail on wl_display_add_socket. */
|
||||||
static const char *
|
static const char *
|
||||||
get_socket_name(void)
|
get_socket_name(void)
|
||||||
|
|
@ -471,7 +471,7 @@ client_disconnect(struct client *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* num is number of clients that requests to stop display.
|
/* num is number of clients that requests to stop display.
|
||||||
* Display is stopped after it recieve num STOP_DISPLAY requests */
|
* Display is stopped after it receive num STOP_DISPLAY requests */
|
||||||
int
|
int
|
||||||
stop_display(struct client *c, int num)
|
stop_display(struct client *c, int num)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue