Fix indirect(?) wm_take_focus(?) handling
See review request for details, issue might be caused by plasma cashew popup BUG: 240673 REVIEW: 103700
This commit is contained in:
parent
19fceb5216
commit
3704163a11
1 changed files with 3 additions and 1 deletions
|
@ -144,7 +144,9 @@ void RootInfo::changeActiveWindow(Window w, NET::RequestSource src, Time timesta
|
||||||
src = NET::FromTool;
|
src = NET::FromTool;
|
||||||
if (src == NET::FromTool)
|
if (src == NET::FromTool)
|
||||||
workspace->activateClient(c, true); // force
|
workspace->activateClient(c, true); // force
|
||||||
else { // NET::FromApplication
|
else if (c == workspace->mostRecentlyActivatedClient()) {
|
||||||
|
return; // WORKAROUND? With > 1 plasma activities, we cause this ourselves. bug #240673
|
||||||
|
} else { // NET::FromApplication
|
||||||
Client* c2;
|
Client* c2;
|
||||||
if (workspace->allowClientActivation(c, timestamp, false, true))
|
if (workspace->allowClientActivation(c, timestamp, false, true))
|
||||||
workspace->activateClient(c);
|
workspace->activateClient(c);
|
||||||
|
|
Loading…
Reference in a new issue