diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-23 15:48:08 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-23 15:48:08 +0200 |
| commit | 1626707b7f4fd3d2b313e78cb3a41783f072f73b (patch) | |
| tree | d03ac32a9c898f38216f191949b8c5b2ff89044e /src/Compositor.hpp | |
| parent | 72700bf9dc17d1d145130bd53b436a80e1c971d2 (diff) | |
make layerSurfaces into RAII
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 0500387c..9b80357f 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -107,7 +107,7 @@ public: CWindow* vectorToWindow(const Vector2D&); CWindow* vectorToWindowIdeal(const Vector2D&); // used only for finding a window to focus on, basically a "findFocusableWindow" CWindow* vectorToWindowTiled(const Vector2D&); - wlr_surface* vectorToLayerSurface(const Vector2D&, std::list<SLayerSurface*>*, Vector2D*, SLayerSurface**); + wlr_surface* vectorToLayerSurface(const Vector2D&, std::vector<std::unique_ptr<SLayerSurface>>*, Vector2D*, SLayerSurface**); wlr_surface* vectorWindowToSurface(const Vector2D&, CWindow*, Vector2D& sl); CWindow* windowFromCursor(); CWindow* windowFloatingFromCursor(); |
