Fix unlocking wayland sessions

We were never issuing a repaint which confused thoroughly the
compositor.

BUG: 447705
This commit is contained in:
Aleix Pol 2022-03-28 03:40:12 +02:00 committed by Aleix Pol Gonzalez
parent efd43f97e6
commit d3259fe945

View file

@ -18,6 +18,7 @@
#include "layershellv1integration.h"
#include "main.h"
#include "platform.h"
#include "scene.h"
#include "screens.h"
#include "unmanaged.h"
#include "utils/serviceutils.h"
@ -614,6 +615,7 @@ void WaylandServer::initScreenLocker()
screenLockerApp, &ScreenLocker::KSldApp::userActivity);
}
ScreenLocker::KSldApp::self()->setWaylandFd(-1);
Compositor::self()->scene()->addRepaintFull();
});
ScreenLocker::KSldApp::self()->initialize();