summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index 09551ef727..4210aedbe4 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -706,7 +706,9 @@ elput_input_keyboard_info_set(Elput_Manager *manager, void *context, void *keyma
706 EINA_SAFETY_ON_NULL_RETURN(manager); 706 EINA_SAFETY_ON_NULL_RETURN(manager);
707 EINA_SAFETY_ON_FALSE_RETURN((!!context) == (!!keymap)); 707 EINA_SAFETY_ON_FALSE_RETURN((!!context) == (!!keymap));
708 708
709 if ((manager->cached.context == context) && (manager->cached.keymap == keymap)) return; 709 if ((manager->cached.context == context) &&
710 (manager->cached.keymap == keymap))
711 return;
710 if (context) xkb_context_ref(context); 712 if (context) xkb_context_ref(context);
711 if (keymap) xkb_keymap_ref(keymap); 713 if (keymap) xkb_keymap_ref(keymap);
712 if (manager->cached.context) xkb_context_unref(manager->cached.context); 714 if (manager->cached.context) xkb_context_unref(manager->cached.context);