summaryrefslogtreecommitdiff
path: root/src/protocols/IdleNotify.hpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-05-04 00:13:29 +0200
committerGitHub <noreply@github.com>2025-05-04 00:13:29 +0200
commitadbae0f74d951e06c575bad3c81a944027dfe413 (patch)
tree4ae313af18629596c7e98518c7c1d2c10bc260a3 /src/protocols/IdleNotify.hpp
parent46ac115bd19ee3aff5c816033de0b1d55a74e33f (diff)
protocols: refactor class member vars (a-m) (#10265)
Diffstat (limited to 'src/protocols/IdleNotify.hpp')
-rw-r--r--src/protocols/IdleNotify.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/protocols/IdleNotify.hpp b/src/protocols/IdleNotify.hpp
index efc3accc..02b59e65 100644
--- a/src/protocols/IdleNotify.hpp
+++ b/src/protocols/IdleNotify.hpp
@@ -19,12 +19,12 @@ class CExtIdleNotification {
bool inhibitorsAreObeyed() const;
private:
- SP<CExtIdleNotificationV1> resource;
- uint32_t timeoutMs = 0;
- SP<CEventLoopTimer> timer;
+ SP<CExtIdleNotificationV1> m_resource;
+ uint32_t m_timeoutMs = 0;
+ SP<CEventLoopTimer> m_timer;
- bool idled = false;
- bool obeyInhibitors = false;
+ bool m_idled = false;
+ bool m_obeyInhibitors = false;
void updateTimer();
};
@@ -46,8 +46,8 @@ class CIdleNotifyProtocol : public IWaylandProtocol {
bool isInhibited = false;
//
- std::vector<UP<CExtIdleNotifierV1>> m_vManagers;
- std::vector<SP<CExtIdleNotification>> m_vNotifications;
+ std::vector<UP<CExtIdleNotifierV1>> m_managers;
+ std::vector<SP<CExtIdleNotification>> m_notifications;
friend class CExtIdleNotification;
};