mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
parent
8427824719
commit
eeb78ef965
@ -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(); });
|
||||
|
Loading…
Reference in New Issue
Block a user