protocols: refactor class member vars (n-t) (#10273)

This commit is contained in:
davc0n 2025-05-04 19:21:36 +02:00 committed by GitHub
parent adbae0f74d
commit 2626f89ea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 1507 additions and 1511 deletions

View file

@ -16,8 +16,8 @@ class CRelativePointer {
wl_client* client();
private:
SP<CZwpRelativePointerV1> resource;
wl_client* pClient = nullptr;
SP<CZwpRelativePointerV1> m_resource;
wl_client* m_client = nullptr;
};
class CRelativePointerProtocol : public IWaylandProtocol {
@ -34,8 +34,8 @@ class CRelativePointerProtocol : public IWaylandProtocol {
void onGetRelativePointer(CZwpRelativePointerManagerV1* pMgr, uint32_t id, wl_resource* pointer);
//
std::vector<UP<CZwpRelativePointerManagerV1>> m_vManagers;
std::vector<UP<CRelativePointer>> m_vRelativePointers;
std::vector<UP<CZwpRelativePointerManagerV1>> m_managers;
std::vector<UP<CRelativePointer>> m_relativePointers;
friend class CRelativePointer;
};