{
public:
InputDevice(WaylandInputDevice *handle, Compositor *compositor);
+ ~InputDevice();
void sendMousePressEvent(Qt::MouseButton button, const QPoint &localPos, const QPoint &globalPos = QPoint());
void sendMouseReleaseEvent(Qt::MouseButton button, const QPoint &localPos, const QPoint &globalPos = QPoint());
WaylandInputDevice *handle() const;
private:
- void cleanupDataDeviceForClient(struct wl_client *client);
+ void cleanupDataDeviceForClient(struct wl_client *client, bool destroyDev);
WaylandInputDevice *m_handle;
Compositor *m_compositor;