From 4b993d7f2510e30fc2c8f1dbe8b3a15124fc7ff1 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Thu, 9 Jun 2016 16:05:30 +0900 Subject: [PATCH] Added support for HEX input panel layout Change-Id: I11ce1e27f0f0de18e409c4114b39819bbe1debfe --- ism/extras/wayland_immodule/wayland_imcontext.c | 3 +++ ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index e511774..6ec1ad4 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -1452,6 +1452,9 @@ wayland_im_context_input_panel_layout_set(Ecore_IMF_Context *ctx, case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY: imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_DIGITS; break; + case ECORE_IMF_INPUT_PANEL_LAYOUT_HEX: + imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_ALPHA; + break; case ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL: imcontext->content_purpose = WL_TEXT_INPUT_CONTENT_PURPOSE_TERMINAL; break; diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index 209e030..4208b91 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -1833,6 +1833,9 @@ Ecore_IMF_Input_Panel_Layout wsc_context_input_panel_layout_get (WSCContextISF * case WL_TEXT_INPUT_CONTENT_PURPOSE_PASSWORD_DIGITS: layout = ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD; break; + case WL_TEXT_INPUT_CONTENT_PURPOSE_ALPHA: + layout = ECORE_IMF_INPUT_PANEL_LAYOUT_HEX; + break; case WL_TEXT_INPUT_CONTENT_PURPOSE_TERMINAL: layout = ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL; break; -- 2.7.4