managers: refactor class member vars (#10242)

This commit is contained in:
davc0n 2025-05-02 17:07:20 +02:00 committed by GitHub
parent 6f174a9e08
commit ce821294e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 930 additions and 932 deletions

View file

@ -35,10 +35,10 @@ class CEventManager {
std::vector<SClient>::iterator removeClientByFD(int fd);
private:
Hyprutils::OS::CFileDescriptor m_iSocketFD;
wl_event_source* m_pEventSource = nullptr;
Hyprutils::OS::CFileDescriptor m_socketFD;
wl_event_source* m_eventSource = nullptr;
std::vector<SClient> m_vClients;
std::vector<SClient> m_clients;
};
inline UP<CEventManager> g_pEventManager;