make konqueror's full-screen mode useful

svn path=/trunk/kdebase/kwin/; revision=59464
This commit is contained in:
Matthias Ettrich 2000-08-01 12:42:03 +00:00
parent 5d7ca8f2ee
commit 70f8d2823b
2 changed files with 3 additions and 3 deletions

View file

@ -437,7 +437,7 @@ Client::Client( Workspace *ws, WId w, QWidget *parent, const char *name, WFlags
setSticky( TRUE );
// window wants to stay on top?
stays_on_top = ( info->state() & NET::StaysOnTop) != 0;
stays_on_top = ( info->state() & NET::StaysOnTop) != 0 || transient_for == workspace()->rootWin();
// should we open this window on a certain desktop?
@ -1177,7 +1177,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
return;
}
if ( mode != Center && shaded )
if ( mode != Center && shaded )
giveUpShade();
QPoint globalPos = e->globalPos(); // pos() + geometry().topLeft();

View file

@ -940,7 +940,7 @@ void Workspace::setActiveClient( Client* c )
if ( menubar ) {
menubar->show();
menubar->raise();
raiseClient( menubar );
}
// ... then hide the other ones. Avoids flickers.