move monitor damage to separate funcs

This commit is contained in:
vaxerski
2022-08-23 16:07:47 +02:00
parent 48c9e9d83d
commit a9e34cba93
3 changed files with 14 additions and 4 deletions

View File

@@ -55,6 +55,8 @@ public:
// methods
void onConnect(bool noRule);
void onDisconnect();
void addDamage(pixman_region32_t* rg);
void addDamage(wlr_box* box);
std::shared_ptr<CMonitor>* m_pThisWrap = nullptr;
bool m_bEnabled = false;