view: send wl_surface.enter to subsurfaces of popups (#13353)

This commit is contained in:
Skidam 2026-02-24 12:20:04 +01:00 committed by GitHub
parent bc09504ea5
commit ae82a55400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -199,7 +199,7 @@ void CPopup::onMap() {
//unconstrain();
sendScale();
m_resource->m_surface->m_surface->enter(PMONITOR->m_self.lock());
m_wlSurface->resource()->breadthfirst([PMONITOR](SP<CWLSurfaceResource> s, const Vector2D& offset, void* d) { s->enter(PMONITOR->m_self.lock()); }, nullptr);
if (!m_layerOwner.expired() && m_layerOwner->m_layer < ZWLR_LAYER_SHELL_V1_LAYER_TOP)
g_pHyprOpenGL->markBlurDirtyForMonitor(g_pCompositor->getMonitorFromID(m_layerOwner->m_layer));