<p>Hello.<br>
im_context doesn't reset input method when mouse is clicked.<br>
So, the last character of Hangul is malfunctioning when mouse is clicked.<br>
This patch resets the input method if necessary when the mouse is clicked.<br>
No side effects.<br>
Do not test with ibus. The ibus itself has a bug.<br>
Test with nimf or imhangul.</p>
<p>For information about nimf, visit <a rel="nofollow" href="https://nimf-i18n.gitlab.io/installation/">https://nimf-i18n.gitlab.io/installation/</a></p>
<p>Related issues with the Hangul last character bugs:</p>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="456650111" data-permission-text="Issue title is private" data-url="https://github.com/wxWidgets/wxWidgets/issues/1357" data-hovercard-type="pull_request" data-hovercard-url="/wxWidgets/wxWidgets/pull/1357/hovercard" href="https://github.com/wxWidgets/wxWidgets/pull/1357">wxWidgets/wxWidgets#1357</a><br>
<a rel="nofollow" href="https://bugs.chromium.org/p/chromium/issues/detail?id=966148">https://bugs.chromium.org/p/chromium/issues/detail?id=966148</a><br>
<a rel="nofollow" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371397">https://bugs.eclipse.org/bugs/show_bug.cgi?id=371397</a><br>
<a rel="nofollow" href="https://bugs.documentfoundation.org/show_bug.cgi?id=117008">https://bugs.documentfoundation.org/show_bug.cgi?id=117008</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="79723119" data-permission-text="Issue title is private" data-url="https://github.com/ibus/ibus/issues/1282" data-hovercard-type="issue" data-hovercard-url="/ibus/ibus/issues/1282/hovercard" href="https://github.com/ibus/ibus/issues/1282">ibus/ibus#1282</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2197'>https://github.com/geany/geany/pull/2197</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Reset im_context when mouse is clicked</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2197/files#diff-0">scintilla/gtk/ScintillaGTK.cxx</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2197/files#diff-1">scintilla/gtk/ScintillaGTK.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2197.patch'>https://github.com/geany/geany/pull/2197.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2197.diff'>https://github.com/geany/geany/pull/2197.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2197?email_source=notifications&email_token=AAIOWJ3ETQWE4RSAM6IVKR3P23LHTA5CNFSM4HYSK4Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYVSKQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5LTHDUWFYE6MCRDO3P23LHTANCNFSM4HYSK4QQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZX2LKJR4YKSTLNPMTP23LHTA5CNFSM4HYSK4Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYVSKQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2197?email_source=notifications\u0026email_token=AAIOWJ3ETQWE4RSAM6IVKR3P23LHTA5CNFSM4HYSK4Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYVSKQ",
"url": "https://github.com/geany/geany/pull/2197?email_source=notifications\u0026email_token=AAIOWJ3ETQWE4RSAM6IVKR3P23LHTA5CNFSM4HYSK4Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYVSKQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>