diff options
author | David Härdeman <david@hardeman.nu> | 2015-07-19 23:25:24 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-07-19 23:25:24 +0200 |
commit | 82ef04d89f89a993d7780f3277b0d8755f7ef559 (patch) | |
tree | cbe876049535c515478befdf9b032b072e3e27f1 | |
parent | d13eb564b120be2d6694225aa408a39f860dbf45 (diff) |
Make sure keymap order is not reversed when written back to server
-rw-r--r-- | rcm-client-receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rcm-client-receive.c b/rcm-client-receive.c index 9931a08..6c7a3a8 100644 --- a/rcm-client-receive.c +++ b/rcm-client-receive.c @@ -814,7 +814,7 @@ get_keymap(RCDevice *object, const gchar *keymap_id) entry->protocol = protocol; entry->scancode = scancode; entry->keycode = keycode; - remote->keymap = g_list_prepend(remote->keymap, entry); + remote->keymap = g_list_append(remote->keymap, entry); } n_items = g_variant_iter_init(&iter, layout_entries); |