diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-05 22:32:51 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-05 23:39:46 +0100 |
commit | 67985e903188a464e602d04f9ed218bd397f5ab1 (patch) | |
tree | 3589175749c9a2ed746b0cc280ab3ccfb33125e9 /sway/commands/output.c | |
parent | Merge pull request #1554 from martinetd/cmd_set (diff) | |
download | sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.gz sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.zst sway-67985e903188a464e602d04f9ed218bd397f5ab1.zip |
sway: change all sway_log to wlr_log
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r-- | sway/commands/output.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c index 8c0fa63c..e747eb4e 100644 --- a/sway/commands/output.c +++ b/sway/commands/output.c | |||
@@ -203,12 +203,12 @@ static struct cmd_results *cmd_output_background(struct output_config *output, | |||
203 | if (src) { | 203 | if (src) { |
204 | sprintf(src, "%s/%s", conf_path, p.we_wordv[0]); | 204 | sprintf(src, "%s/%s", conf_path, p.we_wordv[0]); |
205 | } else { | 205 | } else { |
206 | sway_log(L_ERROR, | 206 | wlr_log(L_ERROR, |
207 | "Unable to allocate background source"); | 207 | "Unable to allocate background source"); |
208 | } | 208 | } |
209 | free(conf); | 209 | free(conf); |
210 | } else { | 210 | } else { |
211 | sway_log(L_ERROR, "Unable to allocate background source"); | 211 | wlr_log(L_ERROR, "Unable to allocate background source"); |
212 | } | 212 | } |
213 | } | 213 | } |
214 | if (!src || access(src, F_OK) == -1) { | 214 | if (!src || access(src, F_OK) == -1) { |
@@ -238,7 +238,7 @@ struct cmd_results *cmd_output(int argc, char **argv) { | |||
238 | 238 | ||
239 | struct output_config *output = new_output_config(argv[0]); | 239 | struct output_config *output = new_output_config(argv[0]); |
240 | if (!output) { | 240 | if (!output) { |
241 | sway_log(L_ERROR, "Failed to allocate output config"); | 241 | wlr_log(L_ERROR, "Failed to allocate output config"); |
242 | return NULL; | 242 | return NULL; |
243 | } | 243 | } |
244 | 244 | ||
@@ -284,7 +284,7 @@ struct cmd_results *cmd_output(int argc, char **argv) { | |||
284 | list_add(config->output_configs, output); | 284 | list_add(config->output_configs, output); |
285 | } | 285 | } |
286 | 286 | ||
287 | sway_log(L_DEBUG, "Config stored for output %s (enabled: %d) (%dx%d@%fHz " | 287 | wlr_log(L_DEBUG, "Config stored for output %s (enabled: %d) (%dx%d@%fHz " |
288 | "position %d,%d scale %f transform %d) (bg %s %s)", | 288 | "position %d,%d scale %f transform %d) (bg %s %s)", |
289 | output->name, output->enabled, output->width, output->height, | 289 | output->name, output->enabled, output->width, output->height, |
290 | output->refresh_rate, output->x, output->y, output->scale, | 290 | output->refresh_rate, output->x, output->y, output->scale, |