diff --git a/src/protocols/SessionLock.cpp b/src/protocols/SessionLock.cpp index a18b1f84..7ed66c97 100644 --- a/src/protocols/SessionLock.cpp +++ b/src/protocols/SessionLock.cpp @@ -1,5 +1,6 @@ #include "SessionLock.hpp" #include "../Compositor.hpp" +#include "FractionalScale.hpp" #define LOGM PROTO::sessionLock->protoLog @@ -59,6 +60,8 @@ CSessionLockSurface::CSessionLockSurface(SP resource_, }, this, "SessionLockSurface"); + PROTO::fractional->sendScale(surface_, pMonitor_->scale); + sendConfigure(); listeners.monitorMode = pMonitor->events.modeChanged.registerListener([this](std::any data) { sendConfigure(); });