aboutsummaryrefslogtreecommitdiff
path: root/rootston/seat.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/seat.c
parentc9916b998c90ea935c79f4fb93fd10f57e488a50 (diff)
parent7072ac87fd1f92cfe6e88a075ff0e8ac2901e870 (diff)
Merge pull request #411 from acrisci/refactor/config-cleanup
Refactor: cleanup config
Diffstat (limited to 'rootston/seat.c')
-rw-r--r--rootston/seat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 3530fb75..4602aad5 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -117,8 +117,8 @@ static void seat_reset_device_mappings(struct roots_seat *seat, struct wlr_input
struct roots_config *config = seat->input->config;
wlr_cursor_map_input_to_output(cursor, device, NULL);
- struct device_config *dconfig;
- if ((dconfig = config_get_device(config, device))) {
+ struct roots_device_config *dconfig;
+ if ((dconfig = roots_config_get_device(config, device))) {
wlr_cursor_map_input_to_region(cursor, device, dconfig->mapped_box);
}
}
@@ -127,8 +127,8 @@ static void seat_set_device_output_mappings(struct roots_seat *seat,
struct wlr_input_device *device, struct wlr_output *output) {
struct wlr_cursor *cursor = seat->cursor->cursor;
struct roots_config *config = seat->input->config;
- struct device_config *dconfig;
- dconfig = config_get_device(config, device);
+ struct roots_device_config *dconfig;
+ dconfig = roots_config_get_device(config, device);
if (dconfig && dconfig->mapped_output &&
strcmp(dconfig->mapped_output, output->name) == 0) {
wlr_cursor_map_input_to_output(cursor, device, output);