diff options
author | Christof Pintaske <cp@openoffice.org> | 2001-05-03 11:35:58 +0000 |
---|---|---|
committer | Christof Pintaske <cp@openoffice.org> | 2001-05-03 11:35:58 +0000 |
commit | cfed21772d071074f98837a5610b967987db74db (patch) | |
tree | 8b889ef2f61d57a99b3342da104cd3453637e183 /vcl | |
parent | 5b5d71eaa7311c9a6bd2865bdcd3d29cb4082965 (diff) |
#86335# cursor events while in preedit mode break extended text input
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/source/window/salframe.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/unx/source/window/salframe.cxx b/vcl/unx/source/window/salframe.cxx index 6baf6c5a7b8e..0e9c4a253930 100644 --- a/vcl/unx/source/window/salframe.cxx +++ b/vcl/unx/source/window/salframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salframe.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: pl $ $Date: 2001-05-02 17:27:15 $ + * last change: $Author: cp $ $Date: 2001-05-03 12:35:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2108,7 +2108,9 @@ long SalFrameData::HandleKeyEvent( XKeyEvent *pEvent ) && mpInputContext->IsPreeditMode() && KeyRelease != pEvent->type ) { - mpInputContext->CommitStringCallback( pString, nSize ); + if (nLen > 0) // cs00 IME does not filter cursor keyevents but sends them + // to the application while in preedit mode (#86335#) + mpInputContext->CommitStringCallback( pString, nSize ); } else { |