[wayland] Only activate ShellClient in takeFocus if it wantsInput
This ensures that e.g. virtual keyboards don't get activated.icc-effect-5.14.5
parent
63bdc54b32
commit
f304a49a58
|
@ -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 New Issue