--- qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp-- 2003-02-18 09:29:05.000000000 +0100 +++ qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp 2003-02-18 09:29:52.000000000 +0100 @@ -3054,9 +3054,6 @@ int QApplication::x11ProcessEvent( XEven break; } - if ( qt_x11EventFilter(event) ) // send through app filter - return 1; - QETWidget *widget = (QETWidget*)QWidget::find( (WId)event->xany.window ); if ( wPRmapper ) { // just did a widget reparent? @@ -3173,6 +3170,9 @@ int QApplication::x11ProcessEvent( XEven return 1; } + if ( qt_x11EventFilter(event) ) // send through app filter + return 1; + if ( event->type == MappingNotify ) { // keyboard mapping changed XRefreshKeyboardMapping( &event->xmapping ); return 0; @@ -4852,7 +4852,7 @@ bool QETWidget::translateKeyEventInterna mapper = QTextCodec::codecForName("UTF-8"); } // we don't need to find the mapper, we know it is utf-8 -- pablo -#if 0 +#if 0 // all keysyms smaller than that are actally keys that can be mapped // to unicode chars if ( count == 0 && key < 0xff00 ) { @@ -4902,7 +4902,7 @@ bool QETWidget::translateKeyEventInterna mapper = 0; } // -- pablo -#endif +#endif if ( count < (int)chars.size()-1 ) chars[count] = '\0'; if ( count == 1 ) {