refactor: utilize 'middle()' method for window/montior center (#3253)

This commit is contained in:
memchr
2023-09-11 09:09:34 +00:00
committed by GitHub
parent 3859607b6c
commit e96e0dc02d
7 changed files with 20 additions and 23 deletions

View File

@@ -107,6 +107,7 @@ class CMonitor {
void setSpecialWorkspace(CWorkspace* const pWorkspace);
void setSpecialWorkspace(const int& id);
void moveTo(const Vector2D& pos);
Vector2D middle();
std::shared_ptr<CMonitor>* m_pThisWrap = nullptr;
bool m_bEnabled = false;