diff options
Diffstat (limited to 'backend/headless/input_device.c')
-rw-r--r-- | backend/headless/input_device.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/headless/input_device.c b/backend/headless/input_device.c index 63d28e8e..e0411c27 100644 --- a/backend/headless/input_device.c +++ b/backend/headless/input_device.c @@ -38,7 +38,7 @@ struct wlr_input_device *wlr_headless_add_input_device( case WLR_INPUT_DEVICE_KEYBOARD: wlr_device->keyboard = calloc(1, sizeof(struct wlr_keyboard)); if (wlr_device->keyboard == NULL) { - wlr_log(L_ERROR, "Unable to allocate wlr_keyboard"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_keyboard"); goto error; } wlr_keyboard_init(wlr_device->keyboard, NULL); @@ -46,7 +46,7 @@ struct wlr_input_device *wlr_headless_add_input_device( case WLR_INPUT_DEVICE_POINTER: wlr_device->pointer = calloc(1, sizeof(struct wlr_pointer)); if (wlr_device->pointer == NULL) { - wlr_log(L_ERROR, "Unable to allocate wlr_pointer"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_pointer"); goto error; } wlr_pointer_init(wlr_device->pointer, NULL); @@ -54,7 +54,7 @@ struct wlr_input_device *wlr_headless_add_input_device( case WLR_INPUT_DEVICE_TOUCH: wlr_device->touch = calloc(1, sizeof(struct wlr_touch)); if (wlr_device->touch == NULL) { - wlr_log(L_ERROR, "Unable to allocate wlr_touch"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_touch"); goto error; } wlr_touch_init(wlr_device->touch, NULL); @@ -62,7 +62,7 @@ struct wlr_input_device *wlr_headless_add_input_device( case WLR_INPUT_DEVICE_TABLET_TOOL: wlr_device->tablet_tool = calloc(1, sizeof(struct wlr_tablet_tool)); if (wlr_device->tablet_tool == NULL) { - wlr_log(L_ERROR, "Unable to allocate wlr_tablet_tool"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_tablet_tool"); goto error; } wlr_tablet_tool_init(wlr_device->tablet_tool, NULL); @@ -70,7 +70,7 @@ struct wlr_input_device *wlr_headless_add_input_device( case WLR_INPUT_DEVICE_TABLET_PAD: wlr_device->tablet_pad = calloc(1, sizeof(struct wlr_tablet_pad)); if (wlr_device->tablet_pad == NULL) { - wlr_log(L_ERROR, "Unable to allocate wlr_tablet_pad"); + wlr_log(WLR_ERROR, "Unable to allocate wlr_tablet_pad"); goto error; } wlr_tablet_pad_init(wlr_device->tablet_pad, NULL); |