diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-09 16:12:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:12:20 -0700 |
commit | 2518de655c7278728736d22549656c639e4c92f0 (patch) | |
tree | acd08ceb9709eb25541fa02fbc533a7c6a99dbad /backend/libinput/touch.c | |
parent | e78d72f42e10b43a76ef5ba6b8c4b3b470b25245 (diff) | |
parent | 7cbef152063e1fbb24e6204339ff4587a74be04b (diff) |
Merge pull request #1126 from emersion/wlr-log-prefix
util: add wlr_ prefix to log symbols
Diffstat (limited to 'backend/libinput/touch.c')
-rw-r--r-- | backend/libinput/touch.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/libinput/touch.c b/backend/libinput/touch.c index d79b2a97..cb9b0e36 100644 --- a/backend/libinput/touch.c +++ b/backend/libinput/touch.c @@ -13,7 +13,7 @@ struct wlr_touch *create_libinput_touch( assert(libinput_dev); struct wlr_touch *wlr_touch = calloc(1, sizeof(struct wlr_touch)); if (!wlr_touch) { - wlr_log(L_ERROR, "Unable to allocate wlr_touch"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_touch"); return NULL; } wlr_touch_init(wlr_touch, NULL); @@ -25,7 +25,7 @@ void handle_touch_down(struct libinput_event *event, struct wlr_input_device *wlr_dev = get_appropriate_device(WLR_INPUT_DEVICE_TOUCH, libinput_dev); if (!wlr_dev) { - wlr_log(L_DEBUG, "Got a touch event for a device with no touch?"); + wlr_log(WLR_DEBUG, "Got a touch event for a device with no touch?"); return; } struct libinput_event_touch *tevent = @@ -45,7 +45,7 @@ void handle_touch_up(struct libinput_event *event, struct wlr_input_device *wlr_dev = get_appropriate_device(WLR_INPUT_DEVICE_TOUCH, libinput_dev); if (!wlr_dev) { - wlr_log(L_DEBUG, "Got a touch event for a device with no touch?"); + wlr_log(WLR_DEBUG, "Got a touch event for a device with no touch?"); return; } struct libinput_event_touch *tevent = @@ -63,7 +63,7 @@ void handle_touch_motion(struct libinput_event *event, struct wlr_input_device *wlr_dev = get_appropriate_device(WLR_INPUT_DEVICE_TOUCH, libinput_dev); if (!wlr_dev) { - wlr_log(L_DEBUG, "Got a touch event for a device with no touch?"); + wlr_log(WLR_DEBUG, "Got a touch event for a device with no touch?"); return; } struct libinput_event_touch *tevent = @@ -83,7 +83,7 @@ void handle_touch_cancel(struct libinput_event *event, struct wlr_input_device *wlr_dev = get_appropriate_device(WLR_INPUT_DEVICE_TOUCH, libinput_dev); if (!wlr_dev) { - wlr_log(L_DEBUG, "Got a touch event for a device with no touch?"); + wlr_log(WLR_DEBUG, "Got a touch event for a device with no touch?"); return; } struct libinput_event_touch *tevent = |