From 71de758988f4765b7ba17799e557f67fff9091d1 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Thu, 10 May 2018 14:04:08 +0900 Subject: [PATCH] Revert "[Tizen] InputMethod enumeration moved to public API" This reverts commit 8a2b4a292e981ae2df7a73c5ec2c9c689c944072. Change-Id: I57b782b890971ea9d9e9e46872e1467c40bee1df --- .../tizen-wayland/ecore-wl2/imf-manager-impl-ecore-wl2.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dali/internal/input/tizen-wayland/ecore-wl2/imf-manager-impl-ecore-wl2.cpp b/dali/internal/input/tizen-wayland/ecore-wl2/imf-manager-impl-ecore-wl2.cpp index b21d9ed..6348e1a 100644 --- a/dali/internal/input/tizen-wayland/ecore-wl2/imf-manager-impl-ecore-wl2.cpp +++ b/dali/internal/input/tizen-wayland/ecore-wl2/imf-manager-impl-ecore-wl2.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,12 +29,12 @@ #include // INTERNAL INCLUDES +#include #include #include #include #include #include -#include #define TOKEN_STRING(x) #x @@ -748,13 +748,13 @@ void ImfManagerEcoreWl::ApplyOptions( const InputMethodOptions& options ) { ecore_imf_context_input_panel_layout_set( mIMFContext, panelLayoutMap[index] ); } - if ( mOptions.CompareAndSet(BUTTON_ACTION, options, index) ) + if ( mOptions.CompareAndSet(AUTO_CAPITALISE, options, index) ) { - ecore_imf_context_input_panel_return_key_type_set( mIMFContext, returnKeyTypeMap[index] ); + ecore_imf_context_autocapital_type_set( mIMFContext, autoCapitalMap[index] ); } - if ( mOptions.CompareAndSet(AUTO_CAPITALIZE, options, index) ) + if ( mOptions.CompareAndSet(ACTION_BUTTON_TITLE, options, index) ) { - ecore_imf_context_autocapital_type_set( mIMFContext, autoCapitalMap[index] ); + ecore_imf_context_input_panel_return_key_type_set( mIMFContext, returnKeyTypeMap[index] ); } if ( mOptions.CompareAndSet(VARIATION, options, index) ) { -- 2.7.4