From 826765b1dfee28c60ca963ff4c4a28cc5dfcc366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 30 Sep 2002 09:34:54 +0000 Subject: [PATCH] Don't remove focus from an auto-shaded window. That's the focus policy's job to do it if it wants. svn path=/trunk/kdebase/kwin/; revision=181231 --- client.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/client.cpp b/client.cpp index 0c9a8d87e0..f410e4755f 100644 --- a/client.cpp +++ b/client.cpp @@ -2379,8 +2379,6 @@ void Client::setShade( bool s, int hus ) if ( !wasStaticContents ) clearWFlags( WStaticContents ); resize (s ); - if (hus) - workspace()->requestFocus( NULL ); } else { int h = height(); QSize s( sizeForWindowSize( windowWrapper()->size(), TRUE ) );