diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-04-24 20:49:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-24 20:49:49 +0200 |
| commit | 0e80ecc5342db04c8c1f807fa6db4c703fb89e3a (patch) | |
| tree | d71179a6517216ab32a12ebaf147e9eaffdbdffa /src/desktop/Window.cpp | |
| parent | be6268a7ecea2ad50cdb78fb661884811a8a28e8 (diff) | |
layers: refactor class member vars (#10149)
* layers: refactor class member vars
* popups: rename m_WLSurface to m_wlSurface
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() { |
