Fixed kicker getting hidden

svn path=/trunk/kdebase/kwin/; revision=48754
This commit is contained in:
Rik Hemsley 2000-05-07 20:40:16 +00:00
parent 59d4eef090
commit d2f8cfec65

View file

@ -172,6 +172,9 @@ Workspace::Workspace( bool restore )
root = qt_xrootwin();
session.setAutoDelete( TRUE );
clientArea_ = QApplication::desktop()->geometry();
edgeClientArea_ = QApplication::desktop()->geometry();
if ( restore )
loadSessionInfo();
@ -2228,7 +2231,8 @@ Workspace::updateClientArea()
{
// qDebug("KWin: Updating client area");
clientArea_ = geometry();
clientArea_ = QApplication::desktop()->geometry();
edgeClientArea_ = QApplication::desktop()->geometry();
for (ClientList::ConstIterator it(clients.begin()); it != clients.end(); ++it)
{
@ -2271,10 +2275,8 @@ Workspace::updateClientArea()
}
// FIXME: Using the hackish method...
if (KWM::title((*it)->winId()) == "MAC MENU [menu]") {
edgeClientArea_ = geometry();
if (KWM::title((*it)->winId()) == "MAC MENU [menu]")
edgeClientArea_.setTop((*it)->geometry().bottom());
}
}
DCOPClient * client = kapp->dcopClient();