From 1a916293dc8a33c980d3110a2ce34dde98406659 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Wed, 19 Jun 2024 11:57:37 +0200 Subject: [PATCH] plugins/eis: Make input capture activation ids unsigned The portal API is specified with unsigned ids. Let's make them unsigned all the way through. --- src/plugins/eis/eisinputcapture.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/eis/eisinputcapture.h b/src/plugins/eis/eisinputcapture.h index 7fdd1cbb14..e9381f02de 100644 --- a/src/plugins/eis/eisinputcapture.h +++ b/src/plugins/eis/eisinputcapture.h @@ -47,8 +47,8 @@ public: Q_INVOKABLE void release(const QPointF &cursorPosition, bool applyPosition); Q_SIGNALS: void disabled(); - void activated(int activationId, const QPointF &cursorPosition); - void deactivated(int activationId); + void activated(uint activationId, const QPointF &cursorPosition); + void deactivated(uint activationId); private: void handleEvents(); @@ -66,7 +66,7 @@ private: eis_device *m_pointer = nullptr; eis_device *m_keyboard = nullptr; eis_device *m_absoluteDevice = nullptr; - int m_activationId = 0; + uint m_activationId = 0; }; }