From 78715e20e3054326afd4332375ea7cb748cd7e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 2 Jun 2006 22:47:04 +0000 Subject: [PATCH] Allow activation from session if there was user activity but there's no active window. svn path=/trunk/KDE/kdebase/workspace/; revision=547674 --- manage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manage.cpp b/manage.cpp index 7e25b70249..91f767dd9d 100644 --- a/manage.cpp +++ b/manage.cpp @@ -451,7 +451,9 @@ bool Client::manage( Window w, bool isMapped ) bool allow; if( session ) - allow = session->active && !workspace()->wasUserInteraction(); + allow = session->active + && ( !workspace()->wasUserInteraction() + || workspace()->activeClient() == NULL || workspace()->activeClient()->isDesktop()); else allow = workspace()->allowClientActivation( this, userTime(), false );