From 455e12880267e399cc3e366926e4a240c47a7011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 16 Jan 2004 17:03:14 +0000 Subject: [PATCH] Minor fix - don't show the empty topmenu area for fullscreen windows, it would obscure the top part of the window. svn path=/trunk/kdebase/kwin/; revision=280267 --- workspace.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index e8ebad7a06..ee535486a4 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -538,9 +538,7 @@ void Workspace::updateCurrentTopMenu() menu_client = menu_client->transientFor(); } } - if( !options->desktopTopMenu()) - block_desktop_menubar = true; - if( !menubar && !block_desktop_menubar ) + if( !menubar && !block_desktop_menubar && options->desktopTopMenu()) { // Find the menubar of the desktop Client* desktop = findDesktop( true, currentDesktop()); @@ -579,7 +577,7 @@ void Workspace::updateCurrentTopMenu() menubar->hideClient( false ); topmenu_space->hide(); } - else + else if( !block_desktop_menubar ) { // no topmenu active - show the space window, so that there's not empty space topmenu_space->show(); }