From 2626f89ea6fe0df585df28052bf1fcca2c50fe8e Mon Sep 17 00:00:00 2001 From: davc0n Date: Sun, 4 May 2025 19:21:36 +0200 Subject: protocols: refactor class member vars (n-t) (#10273) --- src/protocols/TextInputV3.hpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/protocols/TextInputV3.hpp') diff --git a/src/protocols/TextInputV3.hpp b/src/protocols/TextInputV3.hpp index 6cece521..65d29b7f 100644 --- a/src/protocols/TextInputV3.hpp +++ b/src/protocols/TextInputV3.hpp @@ -32,7 +32,7 @@ class CTextInputV3 { CSignal disable; CSignal reset; CSignal destroy; - } events; + } m_events; struct SState { struct { @@ -63,12 +63,14 @@ class CTextInputV3 { void reset(); }; - SState pending, current; + + SState m_pending; + SState m_current; private: - SP resource; + SP m_resource; - int serial = 0; + int m_serial = 0; }; class CTextInputV3Protocol : public IWaylandProtocol { @@ -79,7 +81,7 @@ class CTextInputV3Protocol : public IWaylandProtocol { struct { CSignal newTextInput; // WP - } events; + } m_events; private: void onManagerResourceDestroy(wl_resource* res); @@ -87,8 +89,8 @@ class CTextInputV3Protocol : public IWaylandProtocol { void onGetTextInput(CZwpTextInputManagerV3* pMgr, uint32_t id, wl_resource* seat); // - std::vector> m_vManagers; - std::vector> m_vTextInputs; + std::vector> m_managers; + std::vector> m_textInputs; friend class CTextInputV3; }; -- cgit v1.2.3