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 /rootston/seat.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 'rootston/seat.c')
-rw-r--r-- | rootston/seat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index d8910660..544cfb90 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -443,7 +443,7 @@ static void seat_add_keyboard(struct roots_seat *seat, struct roots_keyboard *keyboard = roots_keyboard_create(device, seat->input); if (keyboard == NULL) { - wlr_log(L_ERROR, "could not allocate keyboard for seat"); + wlr_log(WLR_ERROR, "could not allocate keyboard for seat"); return; } @@ -480,7 +480,7 @@ static void seat_add_pointer(struct roots_seat *seat, struct wlr_input_device *device) { struct roots_pointer *pointer = calloc(sizeof(struct roots_pointer), 1); if (!pointer) { - wlr_log(L_ERROR, "could not allocate pointer for seat"); + wlr_log(WLR_ERROR, "could not allocate pointer for seat"); return; } @@ -513,7 +513,7 @@ static void seat_add_touch(struct roots_seat *seat, struct wlr_input_device *device) { struct roots_touch *touch = calloc(sizeof(struct roots_touch), 1); if (!touch) { - wlr_log(L_ERROR, "could not allocate touch for seat"); + wlr_log(WLR_ERROR, "could not allocate touch for seat"); return; } @@ -553,7 +553,7 @@ static void seat_add_tablet_tool(struct roots_seat *seat, struct roots_tablet_tool *tablet_tool = calloc(sizeof(struct roots_tablet_tool), 1); if (!tablet_tool) { - wlr_log(L_ERROR, "could not allocate tablet_tool for seat"); + wlr_log(WLR_ERROR, "could not allocate tablet_tool for seat"); return; } @@ -608,7 +608,7 @@ void roots_seat_configure_xcursor(struct roots_seat *seat) { seat->cursor->xcursor_manager = wlr_xcursor_manager_create(cursor_theme, ROOTS_XCURSOR_SIZE); if (seat->cursor->xcursor_manager == NULL) { - wlr_log(L_ERROR, "Cannot create XCursor manager for theme %s", + wlr_log(WLR_ERROR, "Cannot create XCursor manager for theme %s", cursor_theme); return; } @@ -618,7 +618,7 @@ void roots_seat_configure_xcursor(struct roots_seat *seat) { wl_list_for_each(output, &seat->input->server->desktop->outputs, link) { float scale = output->wlr_output->scale; if (wlr_xcursor_manager_load(seat->cursor->xcursor_manager, scale)) { - wlr_log(L_ERROR, "Cannot load xcursor theme for output '%s' " + wlr_log(WLR_ERROR, "Cannot load xcursor theme for output '%s' " "with scale %f", output->wlr_output->name, scale); } } @@ -729,7 +729,7 @@ struct roots_seat_view *roots_seat_view_from_view( if (!found) { seat_view = seat_add_view(seat, view); if (seat_view == NULL) { - wlr_log(L_ERROR, "Allocation failed"); + wlr_log(WLR_ERROR, "Allocation failed"); return NULL; } } |