From 9925fc58bcca4faf6f6a356ace24acdf19556560 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 12 Sep 2011 00:34:54 +0000 Subject: Fix system modal dialogs Fix shutdown background Add code to make the desktop locking system use the system window decorations and generally use the same theme and style as the active desktop This code is disabled for now, but can be enabled via the two new static variables in kdesktop/lock/main.cc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252900 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kwin/client.cpp') diff --git a/kwin/client.cpp b/kwin/client.cpp index 0a7f71526..f7c2dad5e 100644 --- a/kwin/client.cpp +++ b/kwin/client.cpp @@ -1991,6 +1991,8 @@ void Client::takeFocus( allowed_t ) */ bool Client::providesContextHelp() const { + if (isModalSystemNotification()) + return false; return Pcontexthelp; } -- cgit v1.2.1