diff --git a/src/config/touch.c b/src/config/touch.c index bd2bc068..2c93d8f3 100644 --- a/src/config/touch.c +++ b/src/config/touch.c @@ -21,11 +21,11 @@ find_default_config(void) struct touch_config_entry * touch_find_config_for_device(char *device_name) { - wlr_log(WLR_INFO, "find touch configuration for %s\n", device_name); + wlr_log(WLR_INFO, "find touch configuration for %s", device_name); struct touch_config_entry *entry; wl_list_for_each(entry, &rc.touch_configs, link) { if (entry->device_name && !strcasecmp(entry->device_name, device_name)) { - wlr_log(WLR_INFO, "found touch configuration for %s\n", device_name); + wlr_log(WLR_INFO, "found touch configuration for %s", device_name); return entry; } } diff --git a/src/img/img-svg.c b/src/img/img-svg.c index baab5faa..9480ce56 100644 --- a/src/img/img-svg.c +++ b/src/img/img-svg.c @@ -45,7 +45,7 @@ img_svg_load(const char *filename, struct lab_data_buffer **buffer, int size, rsvg_handle_render_document(svg, cr, &viewport, &err); if (err) { - wlr_log(WLR_ERROR, "error rendering svg %s-%s\n", filename, err->message); + wlr_log(WLR_ERROR, "error rendering svg %s-%s", filename, err->message); g_error_free(err); goto error; } diff --git a/src/seat.c b/src/seat.c index e4215882..f87cc6e9 100644 --- a/src/seat.c +++ b/src/seat.c @@ -284,7 +284,7 @@ static void map_pointer_to_output(struct seat *seat, struct wlr_input_device *dev) { struct wlr_pointer *pointer = wlr_pointer_from_input_device(dev); - wlr_log(WLR_INFO, "map pointer to output %s\n", pointer->output_name); + wlr_log(WLR_INFO, "map pointer to output %s", pointer->output_name); map_input_to_output(seat, dev, pointer->output_name); } @@ -353,7 +353,7 @@ map_touch_to_output(struct seat *seat, struct wlr_input_device *dev) } char *output_name = touch->output_name ? touch->output_name : touch_config_output_name; - wlr_log(WLR_INFO, "map touch to output %s\n", output_name ? output_name : "unknown"); + wlr_log(WLR_INFO, "map touch to output %s", output_name ? output_name : "unknown"); map_input_to_output(seat, dev, output_name); } @@ -378,7 +378,7 @@ new_tablet(struct seat *seat, struct wlr_input_device *dev) input->wlr_input_device = dev; tablet_create(seat, dev); wlr_cursor_attach_input_device(seat->cursor, dev); - wlr_log(WLR_INFO, "map tablet to output %s\n", rc.tablet.output_name); + wlr_log(WLR_INFO, "map tablet to output %s", rc.tablet.output_name); map_input_to_output(seat, dev, rc.tablet.output_name); return input; diff --git a/src/view-impl-common.c b/src/view-impl-common.c index 24d47c73..7638f919 100644 --- a/src/view-impl-common.c +++ b/src/view-impl-common.c @@ -54,7 +54,7 @@ view_impl_map(struct view *view) */ desktop_update_top_layer_visiblity(view->server); - wlr_log(WLR_DEBUG, "[map] identifier=%s, title=%s\n", + wlr_log(WLR_DEBUG, "[map] identifier=%s, title=%s", view_get_string_prop(view, "app_id"), view_get_string_prop(view, "title")); }