[wayland] Only activate ShellClient in takeFocus if it wantsInput
This ensures that e.g. virtual keyboards don't get activated.
This commit is contained in:
parent
63bdc54b32
commit
f304a49a58
1 changed files with 3 additions and 1 deletions
|
@ -422,7 +422,9 @@ const QKeySequence &ShellClient::shortcut() const
|
|||
|
||||
void ShellClient::takeFocus()
|
||||
{
|
||||
setActive(true);
|
||||
if (rules()->checkAcceptFocus(wantsInput())) {
|
||||
setActive(true);
|
||||
}
|
||||
|
||||
bool breakShowingDesktop = !keepAbove() && !isOnScreenDisplay();
|
||||
if (breakShowingDesktop) {
|
||||
|
|
Loading…
Reference in a new issue