mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Remove some line terminators from log messages
This commit is contained in:
parent
ec271dcd57
commit
7b1af3036c
4 changed files with 7 additions and 7 deletions
|
|
@ -21,11 +21,11 @@ find_default_config(void)
|
||||||
struct touch_config_entry *
|
struct touch_config_entry *
|
||||||
touch_find_config_for_device(char *device_name)
|
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;
|
struct touch_config_entry *entry;
|
||||||
wl_list_for_each(entry, &rc.touch_configs, link) {
|
wl_list_for_each(entry, &rc.touch_configs, link) {
|
||||||
if (entry->device_name && !strcasecmp(entry->device_name, device_name)) {
|
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;
|
return entry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
rsvg_handle_render_document(svg, cr, &viewport, &err);
|
||||||
if (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);
|
g_error_free(err);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,7 @@ static void
|
||||||
map_pointer_to_output(struct seat *seat, struct wlr_input_device *dev)
|
map_pointer_to_output(struct seat *seat, struct wlr_input_device *dev)
|
||||||
{
|
{
|
||||||
struct wlr_pointer *pointer = wlr_pointer_from_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);
|
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;
|
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);
|
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;
|
input->wlr_input_device = dev;
|
||||||
tablet_create(seat, dev);
|
tablet_create(seat, dev);
|
||||||
wlr_cursor_attach_input_device(seat->cursor, 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);
|
map_input_to_output(seat, dev, rc.tablet.output_name);
|
||||||
|
|
||||||
return input;
|
return input;
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ view_impl_map(struct view *view)
|
||||||
*/
|
*/
|
||||||
desktop_update_top_layer_visiblity(view->server);
|
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, "app_id"),
|
||||||
view_get_string_prop(view, "title"));
|
view_get_string_prop(view, "title"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue