summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2015-07-19 23:25:24 +0200
committerDavid Härdeman <david@hardeman.nu>2015-07-19 23:25:24 +0200
commit82ef04d89f89a993d7780f3277b0d8755f7ef559 (patch)
treecbe876049535c515478befdf9b032b072e3e27f1
parentd13eb564b120be2d6694225aa408a39f860dbf45 (diff)
Make sure keymap order is not reversed when written back to server
-rw-r--r--rcm-client-receive.c2
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);