mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Don't use the wlr_ prefix for static functions
This commit is contained in:
parent
71ca45e2c0
commit
625a7a48dc
22 changed files with 306 additions and 302 deletions
|
|
@ -12,20 +12,20 @@ struct wlr_libinput_keyboard {
|
|||
struct libinput_device *libinput_dev;
|
||||
};
|
||||
|
||||
static void wlr_libinput_keyboard_set_leds(struct wlr_keyboard *wlr_kb, uint32_t leds) {
|
||||
static void keyboard_set_leds(struct wlr_keyboard *wlr_kb, uint32_t leds) {
|
||||
struct wlr_libinput_keyboard *wlr_libinput_kb = (struct wlr_libinput_keyboard *)wlr_kb;
|
||||
libinput_device_led_update(wlr_libinput_kb->libinput_dev, leds);
|
||||
}
|
||||
|
||||
static void wlr_libinput_keyboard_destroy(struct wlr_keyboard *wlr_kb) {
|
||||
static void keyboard_destroy(struct wlr_keyboard *wlr_kb) {
|
||||
struct wlr_libinput_keyboard *wlr_libinput_kb =
|
||||
(struct wlr_libinput_keyboard *)wlr_kb;
|
||||
libinput_device_unref(wlr_libinput_kb->libinput_dev);
|
||||
}
|
||||
|
||||
struct wlr_keyboard_impl impl = {
|
||||
.destroy = wlr_libinput_keyboard_destroy,
|
||||
.led_update = wlr_libinput_keyboard_set_leds
|
||||
.destroy = keyboard_destroy,
|
||||
.led_update = keyboard_set_leds
|
||||
};
|
||||
|
||||
struct wlr_keyboard *create_libinput_keyboard(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue