do not force desktop menu on top of windows that want to be on top, fixes fullscreen behaviour for non-kde apps with multiple windows (i.e. mplayer)
svn path=/trunk/kdebase/kwin/; revision=193897
This commit is contained in:
parent
682eda07fe
commit
17c4c1f75c
1 changed files with 5 additions and 1 deletions
|
@ -1484,7 +1484,11 @@ void Workspace::setActiveClient( Client* c )
|
|||
|
||||
if ( menubar ) {
|
||||
menubar->show();
|
||||
menubar->raise(); // better for FocusFollowsMouse than raiseClient(menubar)
|
||||
// do not cover a client that wants to stay on top with the desktop menu
|
||||
if ( menubar->mainClient() == active_client->mainClient()
|
||||
|| !active_client->staysOnTop())
|
||||
menubar->raise(); // better for FocusFollowsMouse than raiseClient(menubar)
|
||||
|
||||
raiseElectricBorders();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue