From 1f3ee9b39c396e443ff9afe05ad01797ea1ef276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 30 Jan 2004 14:55:47 +0000 Subject: [PATCH] Fix problem with: Topmenus enabled, konqueror started, Ctrl+N, html form submitted -> first window is raised above second, because the dialog is group transient, and the second's window topmenu was not above the first's one. svn path=/trunk/kdebase/kwin/; revision=283817 --- workspace.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index ee535486a4..158ac78996 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -576,6 +576,11 @@ void Workspace::updateCurrentTopMenu() menubar->setDesktop( active_client->desktop()); menubar->hideClient( false ); topmenu_space->hide(); + // make it appear like it's been raised manually - it's in the Dock layer anyway, + // and not raising it could mess up stacking order of topmenus within one application, + // and thus break raising of mainclients in raiseClient() + unconstrained_stacking_order.remove( menubar ); + unconstrained_stacking_order.append( menubar ); } else if( !block_desktop_menubar ) { // no topmenu active - show the space window, so that there's not empty space