Add handleRelease method to release events

This commit shouldn't change the handleToggle behaviour,
it shouldn't break anything.
This commit is contained in:
KosmX
2023-08-16 17:14:49 +02:00
parent 1d8331d0c5
commit 2ff347f9a8
2 changed files with 21 additions and 0 deletions

View File

@ -36,8 +36,11 @@ class AModule : public IModule {
virtual bool handleToggle(GdkEventButton *const &ev);
virtual bool handleScroll(GdkEventScroll *);
virtual bool handleRelease(GdkEventButton *const &ev);
private:
bool handleUserEvent(GdkEventButton *const &ev);
std::vector<int> pid_;
gdouble distance_scrolled_y_;
gdouble distance_scrolled_x_;