diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-16 01:37:48 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-16 01:37:48 +0100 |
| commit | 877fb5b93ada9b25b4d2f5ca5f69370fa345f1ac (patch) | |
| tree | 5b52ad19c695590ae50c7adae06b8e3aeccf34c1 /src/protocols/Screencopy.hpp | |
| parent | 0e521788bcc414c9cf81648d3167757d83deb60f (diff) | |
time: move to stl's clocks and move timer
Diffstat (limited to 'src/protocols/Screencopy.hpp')
| -rw-r--r-- | src/protocols/Screencopy.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/protocols/Screencopy.hpp b/src/protocols/Screencopy.hpp index 99dbcc2b..2d3ccab0 100644 --- a/src/protocols/Screencopy.hpp +++ b/src/protocols/Screencopy.hpp @@ -8,7 +8,8 @@ #include <list> #include <vector> #include "../managers/HookSystemManager.hpp" -#include "../helpers/Timer.hpp" +#include "../helpers/time/Timer.hpp" +#include "../helpers/time/Time.hpp" #include "../managers/eventLoop/EventLoopTimer.hpp" #include <aquamarine/buffer/Buffer.hpp> @@ -102,7 +103,7 @@ class CScreencopyProtocol : public IWaylandProtocol { void shareFrame(CScreencopyFrame* frame); void sendFrameDamage(CScreencopyFrame* frame); bool copyFrameDmabuf(CScreencopyFrame* frame); - bool copyFrameShm(CScreencopyFrame* frame, timespec* now); + bool copyFrameShm(CScreencopyFrame* frame, const Time::steady_tp& now); friend class CScreencopyFrame; friend class CScreencopyClient; |
