diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-13 12:53:13 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-13 14:41:36 -0500 |
commit | d12a786160a646dee49503e5423e0e54edf52d52 (patch) | |
tree | 5dd05ca3416de3acd11cbb4b5a33f47c759ac054 | |
parent | Minor fix to memory management (diff) | |
download | sway-d12a786160a646dee49503e5423e0e54edf52d52.tar.gz sway-d12a786160a646dee49503e5423e0e54edf52d52.tar.zst sway-d12a786160a646dee49503e5423e0e54edf52d52.zip |
Removed some unnecessary logs
-rw-r--r-- | sway/config.c | 2 | ||||
-rw-r--r-- | sway/handlers.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sway/config.c b/sway/config.c index e8ff42dc..2f1ad845 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -72,7 +72,6 @@ struct sway_config *read_config(FILE *file, bool is_active) { | |||
72 | // Any command which would require wlc to be initialized | 72 | // Any command which would require wlc to be initialized |
73 | // should be queue for later execution | 73 | // should be queue for later execution |
74 | list_t *args = split_string(line, " "); | 74 | list_t *args = split_string(line, " "); |
75 | sway_log(L_DEBUG, "Checking command %s", line); | ||
76 | if (strcmp("workspace", args->items[0]) == 0) { | 75 | if (strcmp("workspace", args->items[0]) == 0) { |
77 | sway_log(L_DEBUG, "Deferring command %s", line); | 76 | sway_log(L_DEBUG, "Deferring command %s", line); |
78 | char *cmd = malloc(strlen(line) + 1); | 77 | char *cmd = malloc(strlen(line) + 1); |
@@ -92,7 +91,6 @@ _continue: | |||
92 | } | 91 | } |
93 | 92 | ||
94 | if (success == false) { | 93 | if (success == false) { |
95 | sway_log(L_DEBUG, "Config load failed, exiting"); | ||
96 | exit(1); | 94 | exit(1); |
97 | } | 95 | } |
98 | 96 | ||
diff --git a/sway/handlers.c b/sway/handlers.c index 220aeb01..fd9c61a0 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -167,7 +167,6 @@ static void handle_wlc_ready(void) { | |||
167 | sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); | 167 | sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); |
168 | int i; | 168 | int i; |
169 | for (i = 0; i < config->cmd_queue->length; ++i) { | 169 | for (i = 0; i < config->cmd_queue->length; ++i) { |
170 | sway_log(L_DEBUG, "Handling command %s", config->cmd_queue->items[i]); | ||
171 | handle_command(config, config->cmd_queue->items[i]); | 170 | handle_command(config, config->cmd_queue->items[i]); |
172 | } | 171 | } |
173 | list_free(config->cmd_queue); | 172 | list_free(config->cmd_queue); |