aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-01-05 23:09:26 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-01-05 23:40:09 +0100
commit51f6718581ab7e21fd7a8d50450586f3969781ab (patch)
tree42d6239cb64bb67640ff6a9cd14a07ce38d95ec3 /swaymsg
parent67985e903188a464e602d04f9ed218bd397f5ab1 (diff)
swaymsg: convert to wlr_log
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) {
char *socket_path = NULL;
char *cmdtype = NULL;
- init_log(L_INFO);
+ wlr_log_init(L_INFO, NULL);
static struct option long_options[] = {
{"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(
'swaymsg',
'main.c',
include_directories: [sway_inc],
- dependencies: [jsonc],
+ dependencies: [jsonc, wlroots],
link_with: [lib_sway_common],
install: true
)