From 1e3aa4ef971c44f8212c75a5a2967d7e06acd315 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Tue, 1 Jul 2003 21:12:55 +0000 Subject: [PATCH] KIOSK: Make it possible to disable window menu entirely svn path=/trunk/kdebase/kwin/; revision=234965 --- workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index ec14c91748..e9157d6573 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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()