mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
explaination of key event signals here so i don't get confused later
This commit is contained in:
parent
a4d2794e61
commit
724172f068
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user