Allow rendering of input method windows also if screen is locked
Needed to get maliit keyboard above the greeter window. Reviewed-By: Bhushan Shah
This commit is contained in:
parent
e2dc6380d1
commit
8e66832ba3
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ void Scene::finalPaintWindow(EffectWindowImpl* w, int mask, QRegion region, Wind
|
||||||
// will be eventually called from drawWindow()
|
// will be eventually called from drawWindow()
|
||||||
void Scene::finalDrawWindow(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
w->sceneWindow()->performPaint(mask, region, data);
|
w->sceneWindow()->performPaint(mask, region, data);
|
||||||
|
|
Loading…
Reference in a new issue