diff options
Diffstat (limited to 'rcm-server.c')
-rw-r--r-- | rcm-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rcm-server.c b/rcm-server.c index 26620fc..11223b1 100644 --- a/rcm-server.c +++ b/rcm-server.c @@ -154,8 +154,8 @@ method_getkeymap(sd_bus_message *m, void *userdata, sd_bus_error *error) for (i = 0; i < (keymap->rows * keymap->cols); i++) { r = sd_bus_message_append(reply, "a{sv}", 2, - "name", "s", keymap->keycodes[i].name, - "keycode", "s", keymap->keycodes[i].value); + "name", "s", keymap->layout[i]->name, + "keycode", "s", keymap->layout[i]->value); if (r < 0) goto out; } |