KIOSK: Make it possible to disable window menu entirely
svn path=/trunk/kdebase/kwin/; revision=234965
This commit is contained in:
parent
fdbe58d03f
commit
1e3aa4ef97
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue