Refactor layout code, rescale and reformat when changing level

This commit is contained in:
David Boddie
2019-07-18 18:35:04 +02:00
parent f6d4ca0387
commit 6eb63f6a4c
6 changed files with 72 additions and 48 deletions

View File

@ -282,7 +282,8 @@ settings_get_layout(GSettings *settings, char **type, char **layout)
}
static void
settings_update_layout(EekboardContextService *context) {
settings_update_layout(EekboardContextService *context)
{
g_autofree gchar *keyboard_type = NULL;
g_autofree gchar *keyboard_layout = NULL;
settings_get_layout(context->priv->settings, &keyboard_type, &keyboard_layout);