From cc5958705232a6c4b3549eee84a4efb00d56d228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 9 Mar 2004 13:05:29 +0000 Subject: [PATCH] Don't lock up after doing Ctrl+Alt+Esc and clicking on the root window. svn path=/trunk/kdebase/kwin/; revision=294662 --- workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index d299a150d6..7689705754 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1291,6 +1291,8 @@ void Workspace::propagateSystemTrayWins() void Workspace::killWindowId( Window window_to_kill ) { + if( window_to_kill == None ) + return; Window window = window_to_kill; Client* client = NULL; for(;;)