mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 07:45:58 +01:00
parent
8427824719
commit
eeb78ef965
1 changed files with 3 additions and 0 deletions
|
@ -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(); });
|
||||||
|
|
Loading…
Reference in a new issue