aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/protocols/SessionLock.cpp3
1 files changed, 3 insertions, 0 deletions
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<CExtSessionLockSurfaceV1> resource_,
},
this, "SessionLockSurface");
+ PROTO::fractional->sendScale(surface_, pMonitor_->scale);
+
sendConfigure();
listeners.monitorMode = pMonitor->events.modeChanged.registerListener([this](std::any data) { sendConfigure(); });