[wayland] A popup shell surface doesn't want input
This commit is contained in:
parent
a86a7e7b3c
commit
fda5a5feea
1 changed files with 3 additions and 0 deletions
|
@ -508,6 +508,9 @@ bool ShellClient::wantsInput() const
|
|||
if (waylandServer()->inputMethodConnection() == m_shellSurface->client()) {
|
||||
return false;
|
||||
}
|
||||
if (m_shellSurface->isPopup()) {
|
||||
return false;
|
||||
}
|
||||
// if the window is not visible it doesn't get input
|
||||
return isShown(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue