do not cover the menu button with the menu
svn path=/trunk/kdebase/kwin/; revision=400739
This commit is contained in:
parent
b63d495fb9
commit
9ecf800caf
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ void KCommonDecoration::menuButtonPressed()
|
|||
if (!dbl || !decorationBehaviour(DB_MenuClose) ) {
|
||||
QRect menuRect = m_button[MenuButton]->rect();
|
||||
QPoint menutop = m_button[MenuButton]->mapToGlobal(menuRect.topLeft());
|
||||
QPoint menubottom = m_button[MenuButton]->mapToGlobal(menuRect.bottomRight());
|
||||
QPoint menubottom = m_button[MenuButton]->mapToGlobal(menuRect.bottomRight())+QPoint(0,2);
|
||||
KDecorationFactory* f = factory();
|
||||
showWindowMenu(QRect(menutop, menubottom));
|
||||
if( !f->exists( this )) // 'this' was deleted
|
||||
|
|
Loading…
Reference in a new issue