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
icc-effect-5.14.5
Luboš Luňák 2004-07-19 15:00:37 +00:00
parent d5d2f27da9
commit ed4a1bd766
1 changed files with 4 additions and 0 deletions

View File

@ -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();