aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-11 11:04:36 -0500
committerGitHub <noreply@github.com>2017-11-11 11:04:36 -0500
commit2bee288090d930a09be5f9176a519c1ec02c63de (patch)
tree05e8baf4a40288189f746e55b15928caa2793b90 /rootston/input.c
parentc9916b998c90ea935c79f4fb93fd10f57e488a50 (diff)
parent7072ac87fd1f92cfe6e88a075ff0e8ac2901e870 (diff)
Merge pull request #411 from acrisci/refactor/config-cleanup
Refactor: cleanup config
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/input.c b/rootston/input.c
index e96565e0..35a5af97 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -44,7 +44,8 @@ static void input_add_notify(struct wl_listener *listener, void *data) {
struct roots_input *input = wl_container_of(listener, input, input_add);
char *seat_name = "seat0";
- struct device_config *dc = config_get_device(input->config, device);
+ struct roots_device_config *dc =
+ roots_config_get_device(input->config, device);
if (dc) {
seat_name = dc->seat;
}