diff options
author | 2018-07-09 16:23:03 -0700 | |
---|---|---|
committer | 2018-07-09 16:23:03 -0700 | |
commit | fbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch) | |
tree | 76624b3d4820551261e5c15f773c403c1a41264e /swaybar/main.c | |
parent | Merge pull request #2223 from RyanDwyer/floating-move (diff) | |
parent | Update for swaywm/wlroots#1126 (diff) | |
download | sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.gz sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.zst sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.zip |
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
Diffstat (limited to 'swaybar/main.c')
-rw-r--r-- | swaybar/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/swaybar/main.c b/swaybar/main.c index c897e1c9..60e4b37c 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -75,13 +75,13 @@ int main(int argc, char **argv) { | |||
75 | } | 75 | } |
76 | 76 | ||
77 | if (debug) { | 77 | if (debug) { |
78 | wlr_log_init(L_DEBUG, NULL); | 78 | wlr_log_init(WLR_DEBUG, NULL); |
79 | } else { | 79 | } else { |
80 | wlr_log_init(L_ERROR, NULL); | 80 | wlr_log_init(WLR_ERROR, NULL); |
81 | } | 81 | } |
82 | 82 | ||
83 | if (!bar_id) { | 83 | if (!bar_id) { |
84 | wlr_log(L_ERROR, "No bar_id passed. " | 84 | wlr_log(WLR_ERROR, "No bar_id passed. " |
85 | "Provide --bar_id or let sway start swaybar"); | 85 | "Provide --bar_id or let sway start swaybar"); |
86 | return 1; | 86 | return 1; |
87 | } | 87 | } |
@@ -89,7 +89,7 @@ int main(int argc, char **argv) { | |||
89 | if (!socket_path) { | 89 | if (!socket_path) { |
90 | socket_path = get_socketpath(); | 90 | socket_path = get_socketpath(); |
91 | if (!socket_path) { | 91 | if (!socket_path) { |
92 | wlr_log(L_ERROR, "Unable to retrieve socket path"); | 92 | wlr_log(WLR_ERROR, "Unable to retrieve socket path"); |
93 | return 1; | 93 | return 1; |
94 | } | 94 | } |
95 | } | 95 | } |