Fixed some typos

This commit is contained in:
Tomi Ollila 2024-01-04 19:42:26 +02:00 committed by Johan Malm
parent 6cf19d1cdb
commit 785a34e8ad
7 changed files with 10 additions and 10 deletions

View file

@ -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;
}

View file

@ -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);

View file

@ -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;

View file

@ -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
*/