forked from enlightenment/terminology
fix jed/emacs again - might hurt some intl stuff tho... dunno.
SVN revision: 72714
This commit is contained in:
parent
791a1630a6
commit
3b0a9d4013
|
@ -423,10 +423,16 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
|||
{
|
||||
Ecore_IMF_Event_Key_Down imf_ev;
|
||||
ecore_imf_evas_event_key_down_wrap(ev, &imf_ev);
|
||||
// EXCEPTION. Don't filter modifiers alt+shift -> breaks emacs
|
||||
// and jed (alt+shift+5 for search/replace for example)
|
||||
if (!((evas_key_modifier_is_set(ev->modifiers, "Shift")) &&
|
||||
(evas_key_modifier_is_set(ev->modifiers, "Alt"))))
|
||||
{
|
||||
if (ecore_imf_context_filter_event
|
||||
(sd->imf, ECORE_IMF_EVENT_KEY_DOWN, (Ecore_IMF_Event *)&imf_ev))
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
if (evas_key_modifier_is_set(ev->modifiers, "Shift"))
|
||||
{
|
||||
if (ev->keyname)
|
||||
|
|
Loading…
Reference in New Issue