From ed4a1bd7665344846110eafb0105661a16c3387f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 19 Jul 2004 15:00:37 +0000 Subject: [PATCH] Keep the topmenu space widget below the support window, just like all other windows created by kwin. CCMAIL: 85030-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=330910 --- workspace.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index e6a4014757..95c00af574 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2002,6 +2002,10 @@ void Workspace::setupTopMenuHandling() disconnect( topmenu_watcher, SIGNAL( lostOwner()), this, SLOT( lostTopMenuOwner())); managing_topmenus = true; topmenu_space = new QWidget; + Window stack[ 2 ]; + stack[ 0 ] = supportWindow->winId(); + stack[ 1 ] = topmenu_space->winId(); + XRestackWindows(qt_xdisplay(), stack, 2); updateTopMenuGeometry(); topmenu_space->show(); updateClientArea();