summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-09-18 19:37:06 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-09-18 19:47:52 +0300
commit128130285ad31b338a3ce25c2ccc23fe3e04d5fe (patch)
treec6ee3b16a4a91a239e1d7145f3ecb0f00582fd3c /src/lib
parent61db4947f479a22230e5d5d739f21c0d7f910c5f (diff)
Entry: use _edje_seat_name_get to get the seat
The "default" name doesn't mean a lot to edje. Use the helper function to get the proper seat name. This fixes IMF for the Entry widget, that did not get triggered on the hotkey combination. @fix
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index c588836..36a7132 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -172,7 +172,7 @@ _edje_focus_in(Edje *ed, Efl_Input_Device *seat)
172 172
173 _edje_seat_emit(ed, seat, "focus,in", ""); 173 _edje_seat_emit(ed, seat, "focus,in", "");
174#ifdef HAVE_ECORE_IMF 174#ifdef HAVE_ECORE_IMF
175 rp = _edje_focused_part_get(ed, efl_name_get(seat)); 175 rp = _edje_focused_part_get(ed, _edje_seat_name_get(ed, seat));
176 if (!rp) return; 176 if (!rp) return;
177 if ((rp->type != EDJE_RP_TYPE_TEXT) || 177 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
178 (!rp->typedata.text)) return; 178 (!rp->typedata.text)) return;
@@ -207,7 +207,7 @@ _edje_focus_out(Edje *ed, Efl_Input_Device *seat)
207 _edje_seat_emit(ed, seat, "focus,out", ""); 207 _edje_seat_emit(ed, seat, "focus,out", "");
208 208
209#ifdef HAVE_ECORE_IMF 209#ifdef HAVE_ECORE_IMF
210 rp = _edje_focused_part_get(ed, efl_name_get(seat)); 210 rp = _edje_focused_part_get(ed, _edje_seat_name_get(ed, seat));
211 if (!rp) return; 211 if (!rp) return;
212 if ((rp->type != EDJE_RP_TYPE_TEXT) || 212 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
213 (!rp->typedata.text)) return; 213 (!rp->typedata.text)) return;