aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-09 16:12:20 -0700
committerGitHub <noreply@github.com>2018-07-09 16:12:20 -0700
commit2518de655c7278728736d22549656c639e4c92f0 (patch)
treeacd08ceb9709eb25541fa02fbc533a7c6a99dbad /rootston/output.c
parente78d72f42e10b43a76ef5ba6b8c4b3b470b25245 (diff)
parent7cbef152063e1fbb24e6204339ff4587a74be04b (diff)
Merge pull request #1126 from emersion/wlr-log-prefix
util: add wlr_ prefix to log symbols
Diffstat (limited to 'rootston/output.c')
-rw-r--r--rootston/output.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rootston/output.c b/rootston/output.c
index e3b03984..71ccf8bc 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -758,9 +758,9 @@ static void set_mode(struct wlr_output *output,
}
}
if (!best) {
- wlr_log(L_ERROR, "Configured mode for %s not available", output->name);
+ wlr_log(WLR_ERROR, "Configured mode for %s not available", output->name);
} else {
- wlr_log(L_DEBUG, "Assigning configured mode to %s", output->name);
+ wlr_log(WLR_DEBUG, "Assigning configured mode to %s", output->name);
wlr_output_set_mode(output, best);
}
}
@@ -817,8 +817,8 @@ void handle_new_output(struct wl_listener *listener, void *data) {
struct roots_input *input = desktop->server->input;
struct roots_config *config = desktop->config;
- wlr_log(L_DEBUG, "Output '%s' added", wlr_output->name);
- wlr_log(L_DEBUG, "'%s %s %s' %"PRId32"mm x %"PRId32"mm", wlr_output->make,
+ wlr_log(WLR_DEBUG, "Output '%s' added", wlr_output->name);
+ wlr_log(WLR_DEBUG, "'%s %s %s' %"PRId32"mm x %"PRId32"mm", wlr_output->make,
wlr_output->model, wlr_output->serial, wlr_output->phys_width,
wlr_output->phys_height);
@@ -866,7 +866,7 @@ void handle_new_output(struct wl_listener *listener, void *data) {
}
} else {
if (!wl_list_empty(&output_config->modes)) {
- wlr_log(L_ERROR, "Can only add modes for DRM backend");
+ wlr_log(WLR_ERROR, "Can only add modes for DRM backend");
}
}
if (output_config->mode.width) {