if (editor.shouldIgnoreCompositionSelectionChange)
return;
- if (editor.isContentEditable && m_useInputMethod)
+ if (editor.isContentEditable && m_useInputMethod) {
+#if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_CLIPBOARD)
+ if (m_viewImpl->pageClient->isClipboardWindowOpened())
+ m_viewImpl->pageClient->closeClipboardWindow();
+#endif
showIMFContext(editor);
- else
+ } else
hideIMFContext();
if (m_context)
#endif
#endif // ENABLE(TIZEN_INPUT_TAG_EXTENSION)
-#if ENABLE(TIZEN_WEBKIT2_CONTEXT_MENU_CLIPBOARD)
- if (m_viewImpl->pageClient->isClipboardWindowOpened()) {
- LOG(ISF, "[FAIL] Clipboard\n");
- return;
- }
-#endif
-
bool hasFocus = evas_object_focus_get(m_viewImpl->view());
if (!defaultKeypadEnabled) {