• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Revision6bcd2a4a2e2a1e437ee46a136bf126e5c661b9cb (tree)
Time2005-09-02 15:03:41
Authorekato <ekato@ff9a...>
Commiterekato

Log Message

* xim/ : Port changes in r1381 from trunk.

Change Summary

Incremental Difference

--- a/xim/ximic.cpp
+++ b/xim/ximic.cpp
@@ -389,22 +389,7 @@ void XimIC::setFocus()
389389
390390 current_ic = this;
391391 mIsActive = true;
392-
393- bool is_candwin_active = m_kkContext->hasActiveCandwin();
394-
395- if (mConvdisp && is_candwin_active == false) {
396- // unset_focus before move_candwin in m_kkContext->focusIn()
397- mConvdisp->unset_focus();
398- }
399-
400392 m_kkContext->focusIn();
401-
402- if (mConvdisp && is_candwin_active == true) {
403- // Updating preedit here causes string mismatch if the context
404- // receives XIM_RESET_IC after XIM_SET_IC_FOCUS. Should only
405- // update candidate window.
406- m_kkContext->candidate_update();
407- }
408393 }
409394
410395 // Note that the sequence of XIM_SET_IC_FOCUS and XIM_UNSET_FOCUS
--- a/xim/ximserver.cpp
+++ b/xim/ximserver.cpp
@@ -440,11 +440,14 @@ InputContext::focusIn()
440440 uim_helper_client_focus_in(mUc);
441441 mFocusedContext = this;
442442 if (mConvdisp) {
443+ mConvdisp->unset_focus();
443444 mConvdisp->move_candwin();
444445 mConvdisp->update_caret_state();
445446 }
446447 uim_prop_list_update(mUc);
447448 uim_prop_label_update(mUc);
449+ if (hasActiveCandwin())
450+ candidate_update();
448451 }
449452
450453 void