protocols/lock: fix missing output enter on surface (#12448)
This commit is contained in:
parent
d21f2e5729
commit
4036e35e73
1 changed files with 5 additions and 1 deletions
|
|
@ -57,9 +57,13 @@ CSessionLockSurface::CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_,
|
|||
m_surface.reset();
|
||||
});
|
||||
|
||||
if (m_monitor)
|
||||
if (m_monitor) {
|
||||
PROTO::fractional->sendScale(surface_, m_monitor->m_scale);
|
||||
|
||||
if (m_surface)
|
||||
m_surface->enter(m_monitor.lock());
|
||||
}
|
||||
|
||||
sendConfigure();
|
||||
|
||||
m_listeners.monitorMode = m_monitor->m_events.modeChanged.listen([this] { sendConfigure(); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue