diff options
author | Simon Ser <contact@emersion.fr> | 2020-03-02 17:07:53 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-04 03:21:40 +0100 |
commit | 613f9c6f8d1b50427430505c17275fd93f7afb18 (patch) | |
tree | 0952f9945cbc56ed59f466e048e8554382ee40bf | |
parent | c9859f187f91c664da458e803d186ebef219618e (diff) |
backend/wayland: rename wl_seat.c to seat.c
I never got why we have a wl_ prefix here.
-rw-r--r-- | backend/wayland/meson.build | 2 | ||||
-rw-r--r-- | backend/wayland/seat.c (renamed from backend/wayland/wl_seat.c) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backend/wayland/meson.build b/backend/wayland/meson.build index f5a83562..a9692164 100644 --- a/backend/wayland/meson.build +++ b/backend/wayland/meson.build @@ -1,7 +1,7 @@ wlr_files += files( 'backend.c', 'output.c', - 'wl_seat.c', + 'seat.c', 'tablet_v2.c', ) diff --git a/backend/wayland/wl_seat.c b/backend/wayland/seat.c index f80cf829..d59bd6d8 100644 --- a/backend/wayland/wl_seat.c +++ b/backend/wayland/seat.c @@ -566,7 +566,7 @@ static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, assert(backend->seat == wl_seat); if ((caps & WL_SEAT_CAPABILITY_POINTER)) { - wlr_log(WLR_DEBUG, "seat %p offered pointer", (void*) wl_seat); + wlr_log(WLR_DEBUG, "seat %p offered pointer", (void *)wl_seat); struct wl_pointer *wl_pointer = wl_seat_get_pointer(wl_seat); backend->pointer = wl_pointer; @@ -579,7 +579,7 @@ static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, wl_pointer_add_listener(wl_pointer, &pointer_listener, backend); } if ((caps & WL_SEAT_CAPABILITY_KEYBOARD)) { - wlr_log(WLR_DEBUG, "seat %p offered keyboard", (void*) wl_seat); + wlr_log(WLR_DEBUG, "seat %p offered keyboard", (void *)wl_seat); struct wl_keyboard *wl_keyboard = wl_seat_get_keyboard(wl_seat); backend->keyboard = wl_keyboard; |