From 4453757fc9fa357288423ef3b54af3a1d7f35366 Mon Sep 17 00:00:00 2001 From: Ryan Walklin Date: Wed, 20 Mar 2019 09:41:20 +1100 Subject: s/lid_switch/switch_device Rename lid_switch to switch_device to disambiguate lid and tablet mode switches. --- include/wlr/interfaces/wlr_switch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_switch.h b/include/wlr/interfaces/wlr_switch.h index 0b0454f5..83a1365b 100644 --- a/include/wlr/interfaces/wlr_switch.h +++ b/include/wlr/interfaces/wlr_switch.h @@ -12,11 +12,11 @@ #include struct wlr_switch_impl { - void (*destroy)(struct wlr_switch *lid_switch); + void (*destroy)(struct wlr_switch *switch_device); }; -void wlr_switch_init(struct wlr_switch *lid_switch, +void wlr_switch_init(struct wlr_switch *switch_device, struct wlr_switch_impl *impl); -void wlr_switch_destroy(struct wlr_switch *lid_switch); +void wlr_switch_destroy(struct wlr_switch *switch_device); #endif -- cgit v1.2.3