KIOSK: Make it possible to disable window menu entirely

svn path=/trunk/kdebase/kwin/; revision=234965
This commit is contained in:
Waldo Bastian 2003-07-01 21:12:55 +00:00
parent fdbe58d03f
commit 1e3aa4ef97

View file

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