KIOSK: Make it possible to disable window menu entirely

svn path=/trunk/kdebase/kwin/; revision=234965
icc-effect-5.14.5
Waldo Bastian 2003-07-01 21:12:55 +00:00
parent fdbe58d03f
commit 1e3aa4ef97
1 changed files with 2 additions and 0 deletions

View File

@ -3201,6 +3201,8 @@ void Workspace::slotWindowOperations()
void Workspace::showWindowMenu( int x, int y, Client* cl )
{
if (!kapp->authorizeKAction("kwin_rmb"))
return;
if( !cl )
return;
if ( cl->isDesktop()