aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-09 22:49:54 +0100
committeremersion <contact@emersion.fr>2018-07-09 22:49:54 +0100
commit7cbef152063e1fbb24e6204339ff4587a74be04b (patch)
treee5196a8d8931e1defd4d3b937913c9511be719b5 /rootston/input.c
parentffc8780893dd2c8a9ed2f7bd873ced576bc93cc1 (diff)
util: add wlr_ prefix to log symbols
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 3e1b06fb..84b5acae 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -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));