[wayland] A popup shell surface doesn't want input

icc-effect-5.14.5
Martin Gräßlin 2015-09-11 13:33:57 +02:00
parent a86a7e7b3c
commit fda5a5feea
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}