mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
fix typos in comments/messages; add shutting down message
This commit is contained in:
parent
28b8ea9f1e
commit
f5b33cb4b6
@ -197,7 +197,7 @@ static struct cmd_handler *find_handler(char *line, enum cmd_status block) {
|
|||||||
struct cmd_results *handle_command(char *_exec) {
|
struct cmd_results *handle_command(char *_exec) {
|
||||||
// Even though this function will process multiple commands we will only
|
// Even though this function will process multiple commands we will only
|
||||||
// return the last error, if any (for now). (Since we have access to an
|
// return the last error, if any (for now). (Since we have access to an
|
||||||
// error string we could e.g. concatonate all errors there.)
|
// error string we could e.g. concatenate all errors there.)
|
||||||
struct cmd_results *results = NULL;
|
struct cmd_results *results = NULL;
|
||||||
char *exec = strdup(_exec);
|
char *exec = strdup(_exec);
|
||||||
char *head = exec;
|
char *head = exec;
|
||||||
|
@ -446,7 +446,7 @@ bool read_config(FILE *file, struct sway_config *config) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case CMD_DEFER:
|
case CMD_DEFER:
|
||||||
sway_log(L_DEBUG, "Defferring command `%s'", line);
|
sway_log(L_DEBUG, "Deferring command `%s'", line);
|
||||||
list_add(config->cmd_queue, strdup(line));
|
list_add(config->cmd_queue, strdup(line));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ int main(int argc, char **argv) {
|
|||||||
// prevent ipc from crashing sway
|
// prevent ipc from crashing sway
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
wlr_log(L_INFO, "Starting sway version " SWAY_VERSION "\n");
|
wlr_log(L_INFO, "Starting sway version " SWAY_VERSION);
|
||||||
|
|
||||||
init_layout();
|
init_layout();
|
||||||
|
|
||||||
@ -414,6 +414,8 @@ int main(int argc, char **argv) {
|
|||||||
server_run(&server);
|
server_run(&server);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wlr_log(L_INFO, "Shutting down sway");
|
||||||
|
|
||||||
server_fini(&server);
|
server_fini(&server);
|
||||||
|
|
||||||
ipc_terminate();
|
ipc_terminate();
|
||||||
|
Loading…
Reference in New Issue
Block a user