Fix typos -- adapted from PR #1189 by @diegoviola

This commit is contained in:
A Frederick Christensen 2026-03-01 19:10:14 -06:00
parent f4249db613
commit e32535cf97
No known key found for this signature in database
GPG Key ID: 6183FA655784FC36

6
dwl.c
View File

@ -587,7 +587,7 @@ arrangelayers(Monitor *m)
arrange(m); arrange(m);
} }
/* Arrange non-exlusive surfaces from top->bottom */ /* Arrange non-exclusive surfaces from top->bottom */
for (i = 3; i >= 0; i--) for (i = 3; i >= 0; i--)
arrangelayer(m, &m->layers[i], &usable_area, 0); arrangelayer(m, &m->layers[i], &usable_area, 0);
@ -2135,7 +2135,7 @@ powermgrsetmode(struct wl_listener *listener, void *data)
if (!m) if (!m)
return; return;
m->gamma_lut_changed = 1; /* Reapply gamma LUT when re-enabling the ouput */ m->gamma_lut_changed = 1; /* Reapply gamma LUT when re-enabling the output */
wlr_output_state_set_enabled(&state, event->mode); wlr_output_state_set_enabled(&state, event->mode);
wlr_output_commit_state(m->wlr_output, &state); wlr_output_commit_state(m->wlr_output, &state);
@ -2457,7 +2457,7 @@ setup(void)
wlr_log_init(log_level, NULL); wlr_log_init(log_level, NULL);
/* The Wayland display is managed by libwayland. It handles accepting /* The Wayland display is managed by libwayland. It handles accepting
* clients from the Unix socket, manging Wayland globals, and so on. */ * clients from the Unix socket, managing Wayland globals, and so on. */
dpy = wl_display_create(); dpy = wl_display_create();
event_loop = wl_display_get_event_loop(dpy); event_loop = wl_display_get_event_loop(dpy);