mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-26 09:23:48 -07:00
@@ -1,5 +1,6 @@
|
|||||||
#include "SessionLock.hpp"
|
#include "SessionLock.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
|
#include "FractionalScale.hpp"
|
||||||
|
|
||||||
#define LOGM PROTO::sessionLock->protoLog
|
#define LOGM PROTO::sessionLock->protoLog
|
||||||
|
|
||||||
@@ -59,6 +60,8 @@ CSessionLockSurface::CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_,
|
|||||||
},
|
},
|
||||||
this, "SessionLockSurface");
|
this, "SessionLockSurface");
|
||||||
|
|
||||||
|
PROTO::fractional->sendScale(surface_, pMonitor_->scale);
|
||||||
|
|
||||||
sendConfigure();
|
sendConfigure();
|
||||||
|
|
||||||
listeners.monitorMode = pMonitor->events.modeChanged.registerListener([this](std::any data) { sendConfigure(); });
|
listeners.monitorMode = pMonitor->events.modeChanged.registerListener([this](std::any data) { sendConfigure(); });
|
||||||
|
Reference in New Issue
Block a user