Fix spelling mistakes
This commit is contained in:
committed by
Michael Stapelberg
parent
a2632fd308
commit
66d9c983e4
@ -46,7 +46,7 @@
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/** If an error occured during parsing of the criteria, we want to exit instead
|
||||
/** If an error occurred during parsing of the criteria, we want to exit instead
|
||||
* of relying on fallback behavior. See #2091. */
|
||||
#define HANDLE_INVALID_MATCH \
|
||||
do { \
|
||||
|
@ -420,7 +420,7 @@ void init_ws_for_output(Output *output, Con *content) {
|
||||
|
||||
/* In case the workspace we just moved was visible but there was no
|
||||
* other workspace to switch to, we need to initialize the source
|
||||
* output aswell */
|
||||
* output as well */
|
||||
if (visible && previous == NULL) {
|
||||
LOG("There is no workspace left on \"%s\", re-initializing\n",
|
||||
workspace_out->name);
|
||||
|
@ -167,7 +167,7 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||
/* By rendering the stacked container again, we handle the case
|
||||
* that we have a non-leaf-container inside the stack. In that
|
||||
* case, the children of the non-leaf-container need to be raised
|
||||
* aswell. */
|
||||
* as well. */
|
||||
render_con(child, false);
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ static int backtrace(void) {
|
||||
|
||||
waitpid(pid_gdb, &status, 0);
|
||||
|
||||
/* see if the backtrace was succesful or not */
|
||||
/* see if the backtrace was successful or not */
|
||||
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
|
||||
DLOG("GDB did not run properly\n");
|
||||
return -1;
|
||||
@ -176,7 +176,7 @@ static int sig_draw_window(xcb_window_t win, int width, int height, int font_hei
|
||||
static int sig_handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press_event_t *event) {
|
||||
uint16_t state = event->state;
|
||||
|
||||
/* Apparantly, after activating numlock once, the numlock modifier
|
||||
/* Apparently, after activating numlock once, the numlock modifier
|
||||
* stays turned on (use xev(1) to verify). So, to resolve useful
|
||||
* keysyms, we remove the numlock flag from the event state */
|
||||
state &= ~xcb_numlock_mask;
|
||||
|
@ -477,7 +477,7 @@ static void mark_unmapped(Con *con) {
|
||||
TAILQ_FOREACH(current, &(con->nodes_head), nodes)
|
||||
mark_unmapped(current);
|
||||
if (con->type == CT_WORKSPACE) {
|
||||
/* We need to call mark_unmapped on floating nodes aswell since we can
|
||||
/* We need to call mark_unmapped on floating nodes as well since we can
|
||||
* make containers floating. */
|
||||
TAILQ_FOREACH(current, &(con->floating_head), floating_windows)
|
||||
mark_unmapped(current);
|
||||
|
Reference in New Issue
Block a user