From a396827dee2c8bf0ebe91051e5af51037b1e316e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 18 Dec 2002 08:48:11 +0000 Subject: [PATCH] I wonder if this makes a real difference. svn path=/trunk/kdebase/kwin/; revision=194589 --- workspace.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 08dccaf88e..b23334d2e5 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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();