ecore_imf/wayland: use default preedit style
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 21 Mar 2016 07:36:42 +0000 (16:36 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 21 Mar 2016 10:51:31 +0000 (19:51 +0900)
Change-Id: Iffb2d450923bbde191c4928253f133b13608a8e8

src/modules/ecore_imf/wayland/wayland_imcontext.c

index 9f4d071..4e3fd31 100644 (file)
@@ -506,6 +506,9 @@ text_input_preedit_styling(void                 *data,
       case WL_TEXT_INPUT_PREEDIT_STYLE_SELECTION:
          attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB2;
          break;
+      default:
+         attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB1;
+         break;
      }
 
    attr->start_index = index;