elm_entry: send focused entry's type to CBHM 12/120712/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Fri, 6 Jan 2017 08:55:09 +0000 (17:55 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Fri, 24 Mar 2017 01:49:21 +0000 (10:49 +0900)
Change-Id: Ib4163139e884284683d5f482a20393be6a83232a

src/lib/elm_entry.c

index 52afa70..3fef72f 100644 (file)
@@ -2240,6 +2240,12 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite
                elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
              _return_key_enabled_check(obj);
              _validate(obj);
+             //TIZEN_ONLY(20170106): send focused entry type to CBHM
+             if (sd->cnp_mode == ELM_CNP_MODE_PLAINTEXT)
+               eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "text");
+             else
+               eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "image");
+             //
           }
      }
    else