mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
sway: change all sway_log to wlr_log
This commit is contained in:
parent
fdc92e7454
commit
67985e9031
36 changed files with 167 additions and 190 deletions
|
|
@ -203,12 +203,12 @@ static struct cmd_results *cmd_output_background(struct output_config *output,
|
|||
if (src) {
|
||||
sprintf(src, "%s/%s", conf_path, p.we_wordv[0]);
|
||||
} else {
|
||||
sway_log(L_ERROR,
|
||||
wlr_log(L_ERROR,
|
||||
"Unable to allocate background source");
|
||||
}
|
||||
free(conf);
|
||||
} else {
|
||||
sway_log(L_ERROR, "Unable to allocate background source");
|
||||
wlr_log(L_ERROR, "Unable to allocate background source");
|
||||
}
|
||||
}
|
||||
if (!src || access(src, F_OK) == -1) {
|
||||
|
|
@ -238,7 +238,7 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
|
||||
struct output_config *output = new_output_config(argv[0]);
|
||||
if (!output) {
|
||||
sway_log(L_ERROR, "Failed to allocate output config");
|
||||
wlr_log(L_ERROR, "Failed to allocate output config");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -284,7 +284,7 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
list_add(config->output_configs, output);
|
||||
}
|
||||
|
||||
sway_log(L_DEBUG, "Config stored for output %s (enabled: %d) (%dx%d@%fHz "
|
||||
wlr_log(L_DEBUG, "Config stored for output %s (enabled: %d) (%dx%d@%fHz "
|
||||
"position %d,%d scale %f transform %d) (bg %s %s)",
|
||||
output->name, output->enabled, output->width, output->height,
|
||||
output->refresh_rate, output->x, output->y, output->scale,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue