From 8e66832ba3a8e8174f2c583cf3abe53f596015ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 4 Dec 2015 16:12:59 +0100 Subject: [PATCH] Allow rendering of input method windows also if screen is locked Needed to get maliit keyboard above the greeter window. Reviewed-By: Bhushan Shah --- scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.cpp b/scene.cpp index 8a903e8d62..a25dc8ddef 100644 --- a/scene.cpp +++ b/scene.cpp @@ -609,7 +609,7 @@ void Scene::finalPaintWindow(EffectWindowImpl* w, int mask, QRegion region, Wind // will be eventually called from drawWindow() void Scene::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; } w->sceneWindow()->performPaint(mask, region, data);