From 724172f06882cb6e5c5665e20102289d26dd8af6 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Wed, 8 Sep 1999 19:40:12 +0000 Subject: [PATCH] explaination of key event signals here so i don't get confused later --- widget/src/gtk/nsTextWidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/widget/src/gtk/nsTextWidget.cpp b/widget/src/gtk/nsTextWidget.cpp index 12ad354eb1a8..edd19bed696b 100644 --- a/widget/src/gtk/nsTextWidget.cpp +++ b/widget/src/gtk/nsTextWidget.cpp @@ -64,6 +64,11 @@ NS_IMETHODIMP nsTextWidget::CreateNative(GtkWidget *parentWindow) mTextWidget = mWidget; gtk_widget_set_name(mWidget, "nsTextWidget"); + + /* + * GTK's text widget does XIM for us, so we don't want to use the default key handler + * which does XIM, so we connect to a non-XIM key event for the text widget + */ gtk_signal_connect_after(GTK_OBJECT(mWidget), "key_press_event", #ifdef USE_XIM