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:
parent
21a2a14edd
commit
1fe4d5fbff
1 changed files with 2 additions and 2 deletions
|
@ -573,8 +573,8 @@ Client::Client( Workspace *ws, WId w, QWidget *parent, const char *name, WFlags
|
||||||
Client::~Client()
|
Client::~Client()
|
||||||
{
|
{
|
||||||
releaseWindow();
|
releaseWindow();
|
||||||
if (workspace()->activeClient() == this)
|
if (moveResizeMode)
|
||||||
workspace()->setFocusChangeEnabled(true); // Safety
|
workspace()->setFocusChangeEnabled(true);
|
||||||
|
|
||||||
delete info;
|
delete info;
|
||||||
delete d;
|
delete d;
|
||||||
|
|
Loading…
Reference in a new issue