Fixed kicker getting hidden
svn path=/trunk/kdebase/kwin/; revision=48754
This commit is contained in:
parent
59d4eef090
commit
d2f8cfec65
1 changed files with 6 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue