make konqueror's full-screen mode useful
svn path=/trunk/kdebase/kwin/; revision=59464
This commit is contained in:
parent
5d7ca8f2ee
commit
70f8d2823b
2 changed files with 3 additions and 3 deletions
|
@ -437,7 +437,7 @@ Client::Client( Workspace *ws, WId w, QWidget *parent, const char *name, WFlags
|
||||||
setSticky( TRUE );
|
setSticky( TRUE );
|
||||||
|
|
||||||
// window wants to stay on top?
|
// 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?
|
// should we open this window on a certain desktop?
|
||||||
|
|
|
@ -940,7 +940,7 @@ void Workspace::setActiveClient( Client* c )
|
||||||
|
|
||||||
if ( menubar ) {
|
if ( menubar ) {
|
||||||
menubar->show();
|
menubar->show();
|
||||||
menubar->raise();
|
raiseClient( menubar );
|
||||||
}
|
}
|
||||||
|
|
||||||
// ... then hide the other ones. Avoids flickers.
|
// ... then hide the other ones. Avoids flickers.
|
||||||
|
|
Loading…
Reference in a new issue