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

@ -19,13 +19,13 @@ configure_libinput(struct wlr_input_device *wlr_input_device)
* for the time being, lets just enable tap.
*/
if (!wlr_input_device) {
warn("%s:%d: no wlr_input_device", __FILE__, __LINE__);
wlr_log(WLR_ERROR, "no wlr_input_device");
return;
}
struct libinput_device *libinput_dev =
wlr_libinput_get_device_handle(wlr_input_device);
if (!libinput_dev) {
warn("%s:%d: no libinput_dev", __FILE__, __LINE__);
wlr_log(WLR_ERROR, "no libinput_dev");
return;
}
if (libinput_device_config_tap_get_finger_count(libinput_dev) <= 0) {