summaryrefslogtreecommitdiff
path: root/x11/qt3-libs/patches/patch-ae
blob: ecc51254974b68dc6ab84543033436c85c6a1e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.2 2004/08/12 11:52:39 adam Exp $

--- src/kernel/qinputcontext_x11.cpp.orig	2004-08-05 14:42:10.000000000 +0000
+++ src/kernel/qinputcontext_x11.cpp
@@ -265,9 +265,8 @@ extern "C" {
 		qDebug( "compose emptied" );
 #endif // QT_XIM_DEBUG
 
-		// don't send an empty compose, since we will send an IMEnd with
-		// either the correct compose text (or null text if the user has
-		// cancelled the compose or deleted all chars).
+		QIMComposeEvent event( QEvent::IMCompose, qic->text, 0, 0 );
+		QApplication::sendEvent(qic->focusWidget, &event);
 		return 0;
 	    }
 	}