Allow rendering of input method windows also if screen is locked and OpenGL is used

Needed to get maliit keyboard above the greeter window.

Reviewed-By: Bhushan Shah
This commit is contained in:
Martin Gräßlin 2015-12-04 16:37:54 +01:00
parent 8e66832ba3
commit 03909b9d58

View file

@ -1148,7 +1148,7 @@ Scene::Window *SceneOpenGL2::createWindow(Toplevel *t)
void SceneOpenGL2::finalDrawWindow(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
{
if (waylandServer() && waylandServer()->isScreenLocked() && !w->window()->isLockScreen()) {
if (waylandServer() && waylandServer()->isScreenLocked() && !w->window()->isLockScreen() && !w->window()->isInputMethod()) {
return;
}
if (!m_colorCorrection.isNull() && m_colorCorrection->isEnabled()) {