Remove src/common/log.c

Use wlr_log() instead
This commit is contained in:
Johan Malm 2021-07-23 21:15:55 +01:00
parent 20fd8f59a7
commit 82e47ac1f5
20 changed files with 28 additions and 65 deletions

View file

@ -3,8 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common/log.h"
#include <wlr/util/log.h>
#include "config/keybind.h"
#include "config/rcxml.h"
@ -39,7 +38,7 @@ keybind_create(const char *keybind)
xkb_keysym_t sym = xkb_keysym_from_name(
symname, XKB_KEYSYM_CASE_INSENSITIVE);
if (sym == XKB_KEY_NoSymbol) {
warn("unknown keybind (%s)", symname);
wlr_log(WLR_ERROR, "unknown keybind (%s)", symname);
free(k);
k = NULL;
break;