From 82ef04d89f89a993d7780f3277b0d8755f7ef559 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 19 Jul 2015 23:25:24 +0200 Subject: Make sure keymap order is not reversed when written back to server --- rcm-client-receive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3