Fix various typos across the codebase

This commit is contained in:
Hiroaki Yamamoto 2024-03-08 21:59:20 +09:00 committed by GitHub
parent 60aab98e8d
commit be37f9a564
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 40 additions and 40 deletions

View file

@ -8,7 +8,7 @@
* @buf: Buffer to fill with the full filename
* @len: Length of buffer
*
* Example return value: /usr/share/themes/Numix/openbox-3/iconfify.xbm
* Example return value: /usr/share/themes/Numix/openbox-3/iconify.xbm
*/
void button_filename(const char *name, char *buf, size_t len);

View file

@ -3,7 +3,7 @@
#define LABWC_SPAWN_H
/**
* spawn_async_no_shell - execute asyncronously
* spawn_async_no_shell - execute asynchronously
* @command: command to be executed
*/
void spawn_async_no_shell(char const *command);

View file

@ -5,8 +5,8 @@
struct server;
/**
* session_environment_init - set enrivonment variables based on <key>=<value>
* pairs in `${XDG_CONFIG_DIRS:-/etc/xdg}/lawbc/environment` with user override
* session_environment_init - set environment variables based on <key>=<value>
* pairs in `${XDG_CONFIG_DIRS:-/etc/xdg}/labwc/environment` with user override
* in `${XDG_CONFIG_HOME:-$HOME/.config}`
*/
void session_environment_init(void);

View file

@ -12,7 +12,7 @@ struct keyboard;
/*
* The relay structure manages the relationship between text-inputs and
* input-method on a given seat. Multiple text-inputs may be bound to a relay,
* but at most one will be "active" (commucating with input-method) at a time.
* but at most one will be "active" (communicating with input-method) at a time.
* At most one input-method may be bound to the seat. When an input-method and
* an active text-input is present, the relay passes messages between them.
*/

View file

@ -78,7 +78,7 @@ struct input {
* Virtual keyboards should not belong to seat->keyboard_group. As a result we
* need to be able to ascertain which wlr_keyboard key/modifier events come from
* and we achieve that by using `struct keyboard` which inherits `struct input`
* and adds keybord specific listeners and a wlr_keyboard pointer.
* and adds keyboard specific listeners and a wlr_keyboard pointer.
*/
struct keyboard {
struct input base;

View file

@ -377,7 +377,7 @@ enum view_edge view_edge_invert(enum view_edge edge);
* a. that have been created but never mapped;
* b. set to NULL after client minimize-request.
*
* The only views that are allowed to be focusd are those that have a surface
* The only views that are allowed to be focused are those that have a surface
* and have been mapped at some point since creation.
*/
bool view_is_focusable(struct view *view);