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

This commit is contained in:
Martin Gräßlin 2015-09-11 13:33:57 +02:00
parent a86a7e7b3c
commit fda5a5feea

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