This supposed "safety check" doesn't work. Do the "Right Thing" instead.

-    if (workspace()->activeClient() == this)
-       workspace()->setFocusChangeEnabled(true); // Safety
+    if (moveResizeMode)
+       workspace()->setFocusChangeEnabled(true);

svn path=/trunk/kdebase/kwin/; revision=112142
This commit is contained in:
Waldo Bastian 2001-08-27 21:16:39 +00:00
parent 21a2a14edd
commit 1fe4d5fbff

View file

@ -573,8 +573,8 @@ Client::Client( Workspace *ws, WId w, QWidget *parent, const char *name, WFlags
Client::~Client()
{
releaseWindow();
if (workspace()->activeClient() == this)
workspace()->setFocusChangeEnabled(true); // Safety
if (moveResizeMode)
workspace()->setFocusChangeEnabled(true);
delete info;
delete d;