protocols: refactor class member vars (u-z) (#10282)

* protocols: refactor class member vars (u-z)

* protocols: fix clang format
This commit is contained in:
davc0n 2025-05-04 23:39:00 +02:00 committed by GitHub
parent 78ff20ddf0
commit 9cd5b25745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 985 additions and 981 deletions

View file

@ -15,14 +15,12 @@ class CXDGOutput {
void sendDetails();
private:
PHLMONITORREF monitor;
SP<CZxdgOutputV1> resource;
WP<CWLOutputProtocol> outputProto;
PHLMONITORREF m_monitor;
SP<CZxdgOutputV1> m_resource;
WP<CWLOutputProtocol> m_outputProto;
std::optional<Vector2D> overridePosition;
wl_client* client = nullptr;
bool isXWayland = false;
wl_client* m_client = nullptr;
bool m_isXWayland = false;
friend class CXDGOutputProtocol;
};
@ -40,8 +38,8 @@ class CXDGOutputProtocol : public IWaylandProtocol {
void onManagerGetXDGOutput(CZxdgOutputManagerV1* mgr, uint32_t id, wl_resource* outputResource);
//
std::vector<UP<CZxdgOutputManagerV1>> m_vManagerResources;
std::vector<UP<CXDGOutput>> m_vXDGOutputs;
std::vector<UP<CZxdgOutputManagerV1>> m_managerResources;
std::vector<UP<CXDGOutput>> m_xdgOutputs;
friend class CXDGOutput;
};