Fix checking whether ActivityFocusForce is set
BUG: 335770
This commit is contained in:
parent
f747f370b3
commit
902e424f81
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ void Workspace::takeActivity(Client* c, ActivityFlags flags)
|
|||
}
|
||||
cancelDelayFocus();
|
||||
}
|
||||
if (!(flags & ActivityFocusForce) && (c->isDock() || c->isSplash()))
|
||||
if (!flags.testFlag(ActivityFocusForce) && (c->isDock() || c->isSplash()))
|
||||
flags &= ~ActivityFocus; // toplevel menus and dock windows don't take focus if not forced
|
||||
if (c->isShade()) {
|
||||
if (c->wantsInput() && (flags & ActivityFocus)) {
|
||||
|
|
Loading…
Reference in a new issue