diff options
Diffstat (limited to 'Touchpad.h')
-rw-r--r-- | Touchpad.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,6 +8,7 @@ class Touchpad { public: Touchpad(); + ~Touchpad(); bool is_valid(); @@ -19,10 +20,9 @@ public: bool event_is_button2(const input_event& ev); private: - libevdev* m_dev = nullptr; int m_fd; + libevdev* m_dev; bool m_valid; - std::optional<input_event> m_ev; }; |