diff options
Diffstat (limited to 'src/desktop/Window.cpp')
| -rw-r--r-- | src/desktop/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index a37424c8..b22de459 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -162,7 +162,7 @@ SBoxExtents CWindow::getFullWindowExtents() { // TODO: this could be better, perhaps make a getFullWindowRegion? m_pPopupHead->breadthfirst( [](WP<CPopup> popup, void* data) { - if (!popup->m_pWLSurface || !popup->m_pWLSurface->resource()) + if (!popup->m_wlSurface || !popup->m_wlSurface->resource()) return; CBox* pSurfaceExtents = (CBox*)data; @@ -870,7 +870,7 @@ bool CWindow::hasPopupAt(const Vector2D& pos) { auto popup = m_pPopupHead->at(pos); - return popup && popup->m_pWLSurface->resource(); + return popup && popup->m_wlSurface->resource(); } void CWindow::applyGroupRules() { |
