diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-29 14:26:02 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-29 14:26:02 +0000 |
| commit | 2e111c8cf97d391c25fc6263660271fab605ece1 (patch) | |
| tree | d0e38817bb633457a87eabae0fa109533937199f /src/Compositor.cpp | |
| parent | b39dcfa497f84486569bf862092dfcfadbfd8747 (diff) | |
xdg: rewrite entire popup implementation
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 48ac0e1c..150dbfaa 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1120,15 +1120,6 @@ bool CCompositor::windowValidMapped(CWindow* pWindow) { return true; } -CWindow* CCompositor::getWindowForPopup(wlr_xdg_popup* popup) { - for (auto& p : m_vXDGPopups) { - if (p->popup == popup) - return p->parentWindow; - } - - return nullptr; -} - wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D& pos, std::vector<std::unique_ptr<SLayerSurface>>* layerSurfaces, Vector2D* sCoords, SLayerSurface** ppLayerSurfaceFound) { for (auto& ls : *layerSurfaces | std::views::reverse) { |
