summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-09 22:54:30 +0100
committeremersion <contact@emersion.fr>2018-07-09 22:54:30 +0100
commit70c780259b3fb72b7843605b16156af66e563219 (patch)
treea4f77c745e40a234583570ee18259faff0a49886 /main.c
parent94d05612a27adb20bd9b74ddd4ce77a2d7de21f6 (diff)
downloadswaybg-70c780259b3fb72b7843605b16156af66e563219.tar.gz
swaybg-70c780259b3fb72b7843605b16156af66e563219.tar.bz2
Update for swaywm/wlroots#1126
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 5b6c378..1796b24 100644
--- a/main.c
+++ b/main.c
@@ -48,7 +48,7 @@ struct swaybg_state {
bool is_valid_color(const char *color) {
int len = strlen(color);
if (len != 7 || color[0] != '#') {
- wlr_log(L_ERROR, "%s is not a valid color for swaybg. "
+ wlr_log(WLR_ERROR, "%s is not a valid color for swaybg. "
"Color should be specified as #rrggbb (no alpha).", color);
return false;
}
@@ -185,10 +185,10 @@ int main(int argc, const char **argv) {
struct swaybg_args args = {0};
struct swaybg_state state = {0};
state.args = &args;
- wlr_log_init(L_DEBUG, NULL);
+ wlr_log_init(WLR_DEBUG, NULL);
if (argc != 4) {
- wlr_log(L_ERROR, "Do not run this program manually. "
+ wlr_log(WLR_ERROR, "Do not run this program manually. "
"See man 5 sway and look for output options.");
return 1;
}