|
|
@ -1902,14 +1902,6 @@ TDEApplication::~TDEApplication()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
|
|
|
|
class KAppX11HackWidget: public TQWidget
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
bool publicx11Event( XEvent * e) { return x11Event( e ); }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(TQ_WS_X11) && defined(COMPOSITE)
|
|
|
|
#if defined(TQ_WS_X11) && defined(COMPOSITE)
|
|
|
|
bool TDEApplication::isCompositionManagerAvailable() {
|
|
|
|
bool TDEApplication::isCompositionManagerAvailable() {
|
|
|
|
bool have_manager = false;
|
|
|
|
bool have_manager = false;
|
|
|
@ -2184,7 +2176,7 @@ bool TDEApplication::x11EventFilter( XEvent *_event )
|
|
|
|
|
|
|
|
|
|
|
|
if (x11Filter) {
|
|
|
|
if (x11Filter) {
|
|
|
|
for (TQWidget *w=x11Filter->first(); w; w=x11Filter->next()) {
|
|
|
|
for (TQWidget *w=x11Filter->first(); w; w=x11Filter->next()) {
|
|
|
|
if (((KAppX11HackWidget*) w)->publicx11Event(_event))
|
|
|
|
if (w->x11Event(_event))
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|