diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp b/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp index 1bb37fd87..1c82b0e16 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp +++ b/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp @@ -76,6 +76,7 @@ public: polish(); setText(text); adjustSize(); + x11SetWindowType( X11WindowTypeTooltip ); } void setWidth( int w ) { resize( sizeForWidth( w ) ); } }; @@ -534,6 +535,10 @@ void TQTipManager::showTip() if (!widget) return; +#ifdef TQ_WS_X11 + label->x11SetWindowTransient( widget->tqtopLevelWidget()); +#endif + #ifdef TQ_WS_MAC TQRect screen = TQApplication::desktop()->availableGeometry( scr ); #else |