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.
This commit is contained in:
David Redondo 2024-06-19 11:57:37 +02:00
parent 92f1fabe5b
commit 1a916293dc

View file

@ -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;
};
}