From 03909b9d5874d5c73914348dff2ec5eea5a51b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 4 Dec 2015 16:37:54 +0100 Subject: [PATCH] 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 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 53fd0dcfe9..3dd7fd959b 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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()) {