Make the window shortcut dialog-popup work even when opened from the Alt+F3 popup.

svn path=/trunk/kdebase/kwin/; revision=379446
icc-effect-5.14.5
Luboš Luňák 2005-01-17 16:19:33 +00:00
parent 64bac5e6af
commit 21f621f985
2 changed files with 4 additions and 1 deletions

View File

@ -897,7 +897,9 @@ void Workspace::showWindowMenu( const QRect &pos, Client* cl )
else
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();
}
/*!

View File

@ -23,6 +23,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <kxerrorhandler.h>
#include <assert.h>
#include <kdebug.h>
#include <X11/Xlib.h>
#include <X11/extensions/shape.h>