[wayland] While a ShellClient is not shown, it won't take input

icc-effect-5.14.5
Martin Gräßlin 2015-06-10 17:46:55 +02:00
parent 11e0e75fb3
commit 93c88aa446
1 changed files with 2 additions and 1 deletions

View File

@ -414,7 +414,8 @@ bool ShellClient::wantsInput() const
if (isInternal()) {
return false;
}
return true;
// if the window is not visible it doesn't get input
return isShown(true);
}
void ShellClient::createWindowId()