From 9cd5b257459a6b4c5d5d4d1026df85f0ecbe5a93 Mon Sep 17 00:00:00 2001 From: davc0n Date: Sun, 4 May 2025 23:39:00 +0200 Subject: protocols: refactor class member vars (u-z) (#10282) * protocols: refactor class member vars (u-z) * protocols: fix clang format --- src/protocols/XWaylandShell.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/protocols/XWaylandShell.hpp') diff --git a/src/protocols/XWaylandShell.hpp b/src/protocols/XWaylandShell.hpp index f6f91c49..a83f258e 100644 --- a/src/protocols/XWaylandShell.hpp +++ b/src/protocols/XWaylandShell.hpp @@ -20,14 +20,14 @@ class CXWaylandSurfaceResource { CSignal destroy; } events; - uint64_t serial = 0; - WP surface; + uint64_t m_serial = 0; + WP m_surface; - WP self; + WP m_self; private: - SP resource; - wl_client* pClient = nullptr; + SP m_resource; + wl_client* m_client = nullptr; }; class CXWaylandShellResource { @@ -37,7 +37,7 @@ class CXWaylandShellResource { bool good(); private: - SP resource; + SP m_resource; }; class CXWaylandShellProtocol : public IWaylandProtocol { @@ -48,15 +48,15 @@ class CXWaylandShellProtocol : public IWaylandProtocol { struct { CSignal newSurface; // SP. Fired when it sets a serial, otherwise it's useless - } events; + } m_events; private: void destroyResource(CXWaylandSurfaceResource* resource); void destroyResource(CXWaylandShellResource* resource); // - std::vector> m_vManagers; - std::vector> m_vSurfaces; + std::vector> m_managers; + std::vector> m_surfaces; friend class CXWaylandSurfaceResource; friend class CXWaylandShellResource; -- cgit v1.2.3