handle layersurfaces better
This commit is contained in:
parent
5ea20cd041
commit
86b6d7f938
3 changed files with 20 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue