aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/switch.h
diff options
context:
space:
mode:
authorRyan Walklin <ryan@testtoast.com>2019-03-20 09:41:20 +1100
committerBrian Ashworth <bosrsf04@gmail.com>2019-03-19 22:45:58 -0400
commit4453757fc9fa357288423ef3b54af3a1d7f35366 (patch)
treec371e580a6df27dd82e74da6b8b0509a0d4107e3 /include/rootston/switch.h
parent6b7f5e4010103bffaf4666b77f7a4369295588d8 (diff)
s/lid_switch/switch_device
Rename lid_switch to switch_device to disambiguate lid and tablet mode switches.
Diffstat (limited to 'include/rootston/switch.h')
-rw-r--r--include/rootston/switch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rootston/switch.h b/include/rootston/switch.h
index 7aaa8c95..32bc3dab 100644
--- a/include/rootston/switch.h
+++ b/include/rootston/switch.h
@@ -12,7 +12,7 @@ struct roots_switch {
struct wl_list link;
};
-void roots_switch_handle_toggle(struct roots_switch *lid_switch,
+void roots_switch_handle_toggle(struct roots_switch *switch_device,
struct wlr_event_switch_toggle *event);
#endif