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
This commit is contained in:
Luboš Luňák 2004-07-19 15:00:37 +00:00
parent d5d2f27da9
commit ed4a1bd766

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