|
|
@ -705,7 +705,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
if ( mdiMode() == KMdi::ToplevelMode )
|
|
|
|
if ( mdiMode() == KMdi::ToplevelMode )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
XSetTransientForHint( qt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
|
|
|
|
XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -715,7 +715,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
if ( mdiMode() == KMdi::ToplevelMode )
|
|
|
|
if ( mdiMode() == KMdi::ToplevelMode )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
XSetTransientForHint( qt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
|
|
|
|
XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -1426,7 +1426,7 @@ void KMdiMainFrm::switchToToplevelMode()
|
|
|
|
for ( kmdicvit.toFirst(); ( *kmdicvit ); ++kmdicvit )
|
|
|
|
for ( kmdicvit.toFirst(); ( *kmdicvit ); ++kmdicvit )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
#ifdef TQ_WS_X11
|
|
|
|
XSetTransientForHint( qt_xdisplay(), ( *kmdicvit )->winId(), winId() );
|
|
|
|
XSetTransientForHint( tqt_xdisplay(), ( *kmdicvit )->winId(), winId() );
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
( *kmdicvit )->show();
|
|
|
|
( *kmdicvit )->show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|