CT: client menu doesn't appear if client isDesktop()
svn path=/trunk/kdebase/kwin/; revision=140749
This commit is contained in:
parent
e264ffa6bb
commit
1e3bfadcd2
1 changed files with 4 additions and 1 deletions
|
@ -3183,8 +3183,11 @@ void Workspace::sendToDesktop( int desk )
|
|||
*/
|
||||
void Workspace::slotWindowOperations()
|
||||
{
|
||||
if ( !active_client || desktopWidget())
|
||||
if ( !active_client )
|
||||
return;
|
||||
if ( active_client->isDesktop())
|
||||
return;
|
||||
|
||||
QPopupMenu* p = clientPopup( active_client );
|
||||
Client* c = active_client;
|
||||
p->exec( active_client->mapToGlobal( active_client->windowWrapper()->geometry().topLeft() ) );
|
||||
|
|
Loading…
Reference in a new issue