aboutsummaryrefslogtreecommitdiffstats
path: root/swaybg
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-09 22:54:30 +0100
committerLibravatar emersion <contact@emersion.fr>2018-07-09 22:54:30 +0100
commit63b4bf500020cf35cebfdce2d73f8e359ff495c2 (patch)
tree76624b3d4820551261e5c15f773c403c1a41264e /swaybg
parentMerge pull request #2223 from RyanDwyer/floating-move (diff)
downloadsway-63b4bf500020cf35cebfdce2d73f8e359ff495c2.tar.gz
sway-63b4bf500020cf35cebfdce2d73f8e359ff495c2.tar.zst
sway-63b4bf500020cf35cebfdce2d73f8e359ff495c2.zip
Update for swaywm/wlroots#1126
Diffstat (limited to 'swaybg')
-rw-r--r--swaybg/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/swaybg/main.c b/swaybg/main.c
index 5b6c378c..1796b245 100644
--- a/swaybg/main.c
+++ b/swaybg/main.c
@@ -48,7 +48,7 @@ struct swaybg_state {
48bool is_valid_color(const char *color) { 48bool is_valid_color(const char *color) {
49 int len = strlen(color); 49 int len = strlen(color);
50 if (len != 7 || color[0] != '#') { 50 if (len != 7 || color[0] != '#') {
51 wlr_log(L_ERROR, "%s is not a valid color for swaybg. " 51 wlr_log(WLR_ERROR, "%s is not a valid color for swaybg. "
52 "Color should be specified as #rrggbb (no alpha).", color); 52 "Color should be specified as #rrggbb (no alpha).", color);
53 return false; 53 return false;
54 } 54 }
@@ -185,10 +185,10 @@ int main(int argc, const char **argv) {
185 struct swaybg_args args = {0}; 185 struct swaybg_args args = {0};
186 struct swaybg_state state = {0}; 186 struct swaybg_state state = {0};
187 state.args = &args; 187 state.args = &args;
188 wlr_log_init(L_DEBUG, NULL); 188 wlr_log_init(WLR_DEBUG, NULL);
189 189
190 if (argc != 4) { 190 if (argc != 4) {
191 wlr_log(L_ERROR, "Do not run this program manually. " 191 wlr_log(WLR_ERROR, "Do not run this program manually. "
192 "See man 5 sway and look for output options."); 192 "See man 5 sway and look for output options.");
193 return 1; 193 return 1;
194 } 194 }