diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-04 23:39:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 23:39:00 +0200 |
| commit | 9cd5b257459a6b4c5d5d4d1026df85f0ecbe5a93 (patch) | |
| tree | c1ec209a122a10ab637ba62da5eabb0fea0d1568 /src/protocols/XDGOutput.hpp | |
| parent | 78ff20ddf03166c7fa769419b7c2861db89f412b (diff) | |
protocols: refactor class member vars (u-z) (#10282)
* protocols: refactor class member vars (u-z)
* protocols: fix clang format
Diffstat (limited to 'src/protocols/XDGOutput.hpp')
| -rw-r--r-- | src/protocols/XDGOutput.hpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/protocols/XDGOutput.hpp b/src/protocols/XDGOutput.hpp index 6a5be284..eccce837 100644 --- a/src/protocols/XDGOutput.hpp +++ b/src/protocols/XDGOutput.hpp @@ -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; }; |
