mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
handle layersurfaces better
This commit is contained in:
@@ -23,7 +23,9 @@ struct SMonitor {
|
||||
wlr_output* output = nullptr;
|
||||
|
||||
// Double-linked list because we need to have constant mem addresses for signals
|
||||
std::array<std::list<SLayerSurface>, 4> m_aLayerSurfaceLists;
|
||||
// We have to store pointers and use raw new/delete because they might be moved between them
|
||||
// and I am lazy
|
||||
std::array<std::list<SLayerSurface*>, 4> m_aLayerSurfaceLists;
|
||||
|
||||
DYNLISTENER(monitorFrame);
|
||||
DYNLISTENER(monitorDestroy);
|
||||
|
Reference in New Issue
Block a user