summaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-01-06 09:31:34 -0500
committerLibravatar GitHub <noreply@github.com>2018-01-06 09:31:34 -0500
commit5a23959242419169fa4af032d85ee3f65e7041e4 (patch)
tree79386d3d2aa90718f8c071a3337c695cb8a71f78 /swaymsg
parentMerge pull request #1554 from martinetd/cmd_set (diff)
parentcommon/log: finish removing most log functions (diff)
downloadsway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.gz
sway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.zst
sway-5a23959242419169fa4af032d85ee3f65e7041e4.zip
Merge pull request #1556 from martinetd/cleanup_logging
Cleanup logging
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
-rw-r--r--swaymsg/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index a34eced4..88b14813 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -232,7 +232,7 @@ int main(int argc, char **argv) {
232 char *socket_path = NULL; 232 char *socket_path = NULL;
233 char *cmdtype = NULL; 233 char *cmdtype = NULL;
234 234
235 init_log(L_INFO); 235 wlr_log_init(L_INFO, NULL);
236 236
237 static struct option long_options[] = { 237 static struct option long_options[] = {
238 {"help", no_argument, NULL, 'h'}, 238 {"help", no_argument, NULL, 'h'},
diff --git a/swaymsg/meson.build b/swaymsg/meson.build
index 2d678878..8638b838 100644
--- a/swaymsg/meson.build
+++ b/swaymsg/meson.build
@@ -2,7 +2,7 @@ executable(
2 'swaymsg', 2 'swaymsg',
3 'main.c', 3 'main.c',
4 include_directories: [sway_inc], 4 include_directories: [sway_inc],
5 dependencies: [jsonc], 5 dependencies: [jsonc, wlroots],
6 link_with: [lib_sway_common], 6 link_with: [lib_sway_common],
7 install: true 7 install: true
8) 8)