mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-22 15:33:49 -07:00
screencopy: fix screencopy frames not being cleaned up (#8017)
--------- Co-authored-by: Vaxry <vaxry@vaxry.net>
This commit is contained in:
@@ -45,7 +45,7 @@ class CToplevelExportFrame {
|
||||
|
||||
bool good();
|
||||
|
||||
SP<CToplevelExportFrame> self;
|
||||
WP<CToplevelExportFrame> self;
|
||||
WP<CToplevelExportClient> client;
|
||||
|
||||
private:
|
||||
@@ -85,7 +85,7 @@ class CToplevelExportProtocol : IWaylandProtocol {
|
||||
private:
|
||||
std::vector<SP<CToplevelExportClient>> m_vClients;
|
||||
std::vector<SP<CToplevelExportFrame>> m_vFrames;
|
||||
std::vector<SP<CToplevelExportFrame>> m_vFramesAwaitingWrite;
|
||||
std::vector<WP<CToplevelExportFrame>> m_vFramesAwaitingWrite;
|
||||
|
||||
void shareFrame(CToplevelExportFrame* frame);
|
||||
bool copyFrameDmabuf(CToplevelExportFrame* frame, timespec* now);
|
||||
|
Reference in New Issue
Block a user