util: add wlr_ prefix to log symbols

This commit is contained in:
emersion 2018-07-09 22:49:54 +01:00
parent ffc8780893
commit 7cbef15206
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
98 changed files with 631 additions and 629 deletions

View file

@ -56,11 +56,11 @@ static void handle_new_input(struct wl_listener *listener, void *data) {
struct roots_seat *seat = input_get_seat(input, seat_name);
if (!seat) {
wlr_log(L_ERROR, "could not create roots seat");
wlr_log(WLR_ERROR, "could not create roots seat");
return;
}
wlr_log(L_DEBUG, "New input device: %s (%d:%d) %s seat:%s", device->name,
wlr_log(WLR_DEBUG, "New input device: %s (%d:%d) %s seat:%s", device->name,
device->vendor, device->product, device_type(device->type), seat_name);
roots_seat_add_device(seat, device);
@ -69,7 +69,7 @@ static void handle_new_input(struct wl_listener *listener, void *data) {
struct libinput_device *libinput_dev =
wlr_libinput_get_device_handle(device);
wlr_log(L_DEBUG, "input has config, tap_enabled: %d\n", dc->tap_enabled);
wlr_log(WLR_DEBUG, "input has config, tap_enabled: %d\n", dc->tap_enabled);
if (dc->tap_enabled) {
libinput_device_config_tap_set_enabled(libinput_dev,
LIBINPUT_CONFIG_TAP_ENABLED);
@ -79,7 +79,7 @@ static void handle_new_input(struct wl_listener *listener, void *data) {
struct roots_input *input_create(struct roots_server *server,
struct roots_config *config) {
wlr_log(L_DEBUG, "Initializing roots input");
wlr_log(WLR_DEBUG, "Initializing roots input");
assert(server->desktop);
struct roots_input *input = calloc(1, sizeof(struct roots_input));