From cfed21772d071074f98837a5610b967987db74db Mon Sep 17 00:00:00 2001 From: Christof Pintaske Date: Thu, 3 May 2001 11:35:58 +0000 Subject: #86335# cursor events while in preedit mode break extended text input --- vcl/unx/source/window/salframe.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'vcl') 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 { -- cgit