Commit 4df2ecc8 authored by Daiki Ueno's avatar Daiki Ueno

Don't abort when failed to load keyboard.

parent 03995ec6
......@@ -779,8 +779,8 @@ set_keyboards (Client *client,
for (p = keyboards; *p != NULL; p++) {
keyboard_id = eekboard_context_add_keyboard (client->context, *p, NULL);
if (keyboard_id == 0) {
g_slist_free (head);
return FALSE;
g_warning ("can't add keyboard %s", *p);
continue;
}
client->keyboards = g_slist_prepend (client->keyboards,
GUINT_TO_POINTER(keyboard_id));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment