I wonder if this makes a real difference.

svn path=/trunk/kdebase/kwin/; revision=194589
This commit is contained in:
Luboš Luňák 2002-12-18 08:48:11 +00:00
parent b743a8297d
commit a396827dee

View file

@ -1485,9 +1485,9 @@ void Workspace::setActiveClient( Client* c )
if ( menubar ) {
menubar->show();
// do not cover a client that wants to stay on top with the desktop menu
if ( active_client != NULL
&& ( menubar->mainClient() == active_client->mainClient()
|| !active_client->staysOnTop()))
if ( active_client == NULL
|| menubar->mainClient() == active_client->mainClient()
|| !active_client->staysOnTop())
menubar->raise(); // better for FocusFollowsMouse than raiseClient(menubar)
raiseElectricBorders();