From eeb78ef965435b68ad0fbdcff6dfc4cdf4500bc5 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 2 May 2024 15:13:47 +0100 Subject: fractional: set scale before configure fixes #5842 --- src/protocols/SessionLock.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); }); -- cgit v1.2.3