mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Remove src/common/log.c
Use wlr_log() instead
This commit is contained in:
parent
20fd8f59a7
commit
82e47ac1f5
20 changed files with 28 additions and 65 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue