screencopy: don't spam sw cursor locks
This commit is contained in:
parent
494b9415a1
commit
8562d38477
2 changed files with 28 additions and 7 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <vector>
|
||||
#include "../managers/HookSystemManager.hpp"
|
||||
#include "../helpers/Timer.hpp"
|
||||
#include "../managers/eventLoop/EventLoopTimer.hpp"
|
||||
|
||||
class CMonitor;
|
||||
|
||||
|
|
@ -84,6 +85,9 @@ class CScreencopyProtocolManager {
|
|||
std::list<SScreencopyFrame> m_lFrames;
|
||||
std::list<CScreencopyClient> m_lClients;
|
||||
|
||||
SP<CEventLoopTimer> m_pSoftwareCursorTimer;
|
||||
bool m_bTimerArmed = false;
|
||||
|
||||
wl_listener m_liDisplayDestroy;
|
||||
|
||||
std::vector<SScreencopyFrame*> m_vFramesAwaitingWrite;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue