Make the window shortcut dialog-popup work even when opened from the Alt+F3 popup.
svn path=/trunk/kdebase/kwin/; revision=379446
This commit is contained in:
parent
64bac5e6af
commit
21f621f985
2 changed files with 4 additions and 1 deletions
|
@ -897,7 +897,9 @@ void Workspace::showWindowMenu( const QRect &pos, Client* cl )
|
||||||
else
|
else
|
||||||
p->exec( QPoint( x, pos.top() - popupHeight ) );
|
p->exec( QPoint( x, pos.top() - popupHeight ) );
|
||||||
}
|
}
|
||||||
closeActivePopup();
|
// active popup may be already changed (e.g. the window shortcut dialog)
|
||||||
|
if( active_popup == p )
|
||||||
|
closeActivePopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -23,6 +23,7 @@ License. See the file "COPYING" for the exact licensing terms.
|
||||||
|
|
||||||
#include <kxerrorhandler.h>
|
#include <kxerrorhandler.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <kdebug.h>
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/extensions/shape.h>
|
#include <X11/extensions/shape.h>
|
||||||
|
|
Loading…
Reference in a new issue