From 1e3bfadcd2524dc137b9501b72814492f3e3d070 Mon Sep 17 00:00:00 2001 From: Cristian Tibirna Date: Sun, 3 Mar 2002 23:28:04 +0000 Subject: [PATCH] CT: client menu doesn't appear if client isDesktop() svn path=/trunk/kdebase/kwin/; revision=140749 --- workspace.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index d109ae8894..3ea946d9cc 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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() ) );