Add auto_capitalization_word 80/58480/1 accepted/tizen/mobile/20160202.115232 accepted/tizen/tv/20160202.115256 accepted/tizen/wearable/20160202.115324 submit/tizen/20160202.072154
authorinhonghan <inhong1.han@samsung.com>
Mon, 1 Feb 2016 10:55:40 +0000 (19:55 +0900)
committerinhonghan <inhong1.han@samsung.com>
Mon, 1 Feb 2016 10:56:15 +0000 (19:56 +0900)
Change-Id: Iecff78c52a63168e1bea94e0c00255d2bf3ae963
Signed-off-by: inhonghan <inhong1.han@samsung.com>
src/modules/ecore_imf/wayland/wayland_imcontext.c

index 4b1c6a0..69c048e 100755 (executable)
@@ -1176,11 +1176,14 @@ EAPI void wayland_im_context_autocapital_type_set(Ecore_IMF_Context *ctx,
    WaylandIMContext *imcontext = (WaylandIMContext *)ecore_imf_context_data_get(ctx);
 
    imcontext->content_hint &= ~(WL_TEXT_INPUT_CONTENT_HINT_AUTO_CAPITALIZATION |
+                                WL_TEXT_INPUT_CONTENT_HINT_WORD_CAPITALIZATION |
                                 WL_TEXT_INPUT_CONTENT_HINT_UPPERCASE |
                                 WL_TEXT_INPUT_CONTENT_HINT_LOWERCASE);
 
    if (autocapital_type == ECORE_IMF_AUTOCAPITAL_TYPE_SENTENCE)
      imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_AUTO_CAPITALIZATION;
+   else if (autocapital_type == ECORE_IMF_AUTOCAPITAL_TYPE_WORD)
+     imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_WORD_CAPITALIZATION;
    else if (autocapital_type == ECORE_IMF_AUTOCAPITAL_TYPE_ALLCHARACTER)
      imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_UPPERCASE;
    else