From 785a34e8ad6e693591cbf657b4b8ff50192d0eec Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 4 Jan 2024 19:42:26 +0200 Subject: [PATCH] Fixed some typos --- NEWS.md | 4 ++-- docs/labwc-actions.5.scd | 2 +- include/labwc.h | 2 +- src/common/nodename.c | 2 +- src/config/session.c | 4 ++-- src/input/cursor.c | 2 +- src/output.c | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/NEWS.md b/NEWS.md index cdcb5620..d73ce6a1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -577,7 +577,7 @@ reported, tested and fixed issues. Particular mentions go to @bi4k8, into account exclusive layer-shell clients. Written-by: @Consolatis - Restore natural geometry when moving tiled/maximized window Fixes #391. Written-by: @Consolatis -- Improve action implementation to take a list of arguments in preperation +- Improve action implementation to take a list of arguments in preparation for actions with multiple arguments. Written-by: @Consolatis ### Fixed @@ -863,7 +863,7 @@ Compile with wlroots 0.13.0 ### Added -- Support wlr-output-management protcol for setting output position, scale +- Support wlr-output-management protocol for setting output position, scale and orientation with kanshi or similar - Support server side decoration rounded corners - Change built-in theme to match default GTK style diff --git a/docs/labwc-actions.5.scd b/docs/labwc-actions.5.scd index 6558d0fc..20f05764 100644 --- a/docs/labwc-actions.5.scd +++ b/docs/labwc-actions.5.scd @@ -189,7 +189,7 @@ Actions are used in menus and keyboard/mouse bindings. effectively sharing only the region of the screen. It must be noted that overlaying virtual output and real output is not - endorsed or explicitely supported by wlroots. For example, after configuring + endorsed or explicitly supported by wlroots. For example, after configuring virtual output, real output must be reconfigured as well (for the overlay configuration to work correctly). This is the example configuration: diff --git a/include/labwc.h b/include/labwc.h index 88dfbec5..7c409f60 100644 --- a/include/labwc.h +++ b/include/labwc.h @@ -72,7 +72,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/modifer events come from + * 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. */ diff --git a/src/common/nodename.c b/src/common/nodename.c index 3c6e2446..86dfd620 100644 --- a/src/common/nodename.c +++ b/src/common/nodename.c @@ -10,7 +10,7 @@ nodename(xmlNode *node, char *buf, int len) return NULL; } - /* Ignore superflous 'text.' in node name */ + /* Ignore superfluous 'text.' in node name */ if (node->parent && !strcmp((char *)node->name, "text")) { node = node->parent; } diff --git a/src/config/session.c b/src/config/session.c index b4014dc1..00fbabaf 100644 --- a/src/config/session.c +++ b/src/config/session.c @@ -100,7 +100,7 @@ session_environment_init(const char *dir) { /* * Set default for XDG_CURRENT_DESKTOP so xdg-desktop-portal-wlr is happy. - * May be overriden either by already having a value set or by the user + * May be overridden either by already having a value set or by the user * supplied environment file. */ setenv("XDG_CURRENT_DESKTOP", "wlroots", 0); @@ -109,7 +109,7 @@ session_environment_init(const char *dir) * Set default for _JAVA_AWT_WM_NONREPARENTING so that Java applications * such as JetBrains/Intellij Idea do render blank windows and menus * with incorrect offset. See https://github.com/swaywm/sway/issues/595 - * May be overriden either by already having a value set or by the user + * May be overridden either by already having a value set or by the user * supplied environment file. */ setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 0); diff --git a/src/input/cursor.c b/src/input/cursor.c index 2d1df6b0..ca50a8ce 100644 --- a/src/input/cursor.c +++ b/src/input/cursor.c @@ -944,7 +944,7 @@ cursor_button_press(struct seat *seat, uint32_t button, if (ctx.type != LAB_SSD_MENU) { close_menu = true; } else if (menu_call_actions(ctx.node)) { - /* Action was successfull, may fail if item just opens a submenu */ + /* Action was successful, may fail if item just opens a submenu */ close_menu = true; } return; diff --git a/src/output.c b/src/output.c index 7f2f5520..d34e844a 100644 --- a/src/output.c +++ b/src/output.c @@ -205,7 +205,7 @@ new_output_notify(struct wl_listener *listener, void *data) /* * Configures the output created by the backend to use our allocator - * and our renderer. Must be done once, before commiting the output + * and our renderer. Must be done once, before committing the output */ if (!wlr_output_init_render(wlr_output, server->allocator, server->renderer)) { @@ -492,7 +492,7 @@ handle_output_manager_apply(struct wl_listener *listener, void *data) } /* - * Take the way outputs are currently configured/layed out and turn that into + * Take the way outputs are currently configured/laid out and turn that into * a struct that we send to clients via the wlr_output_configuration v1 * interface */