aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_desklock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_desklock.c')
-rw-r--r--src/bin/e_desklock.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index e3dd03fe2..af2b98c8d 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -224,8 +224,8 @@ e_desklock_show(Eina_Bool suspend)
if (e_config->desklock_language)
e_intl_language_set(e_config->desklock_language);
- if (e_config->xkb.desklock_layout)
- e_xkb_layout_set(e_config->xkb.desklock_layout);
+ if (e_config->xkb.lock_layout)
+ e_xkb_layout_set(e_config->xkb.lock_layout);
_e_custom_desklock_exe =
ecore_exe_run(e_config->desklock_custom_desklock_cmd, NULL);
_e_desklock_state = EINA_TRUE;
@@ -311,8 +311,8 @@ works:
if (e_config->desklock_language)
e_intl_language_set(e_config->desklock_language);
- if (e_config->xkb.desklock_layout)
- e_xkb_layout_set(e_config->xkb.desklock_layout);
+ if (e_config->xkb.lock_layout)
+ e_xkb_layout_set(e_config->xkb.lock_layout);
total_zone_num = _e_desklock_zone_num_get();
EINA_LIST_FOREACH(managers, l, man)
@@ -383,10 +383,10 @@ e_desklock_hide(void)
if (e_config->desklock_language)
e_intl_language_set(e_config->language);
- if (e_config->xkb.cur_layout == e_config->xkb.desklock_layout)
+ if (e_config_xkb_layout_eq(e_config->xkb.current_layout, e_config->xkb.lock_layout))
{
- if (e_config->xkb.selected_layout)
- e_xkb_layout_set(e_config->xkb.selected_layout);
+ if (e_config->xkb.sel_layout)
+ e_xkb_layout_set(e_config->xkb.sel_layout);
}
_e_desklock_state = EINA_FALSE;