exec runs after on-* events

This commit is contained in:
Ruan E. Formigoni
2022-11-10 02:36:54 -03:00
parent 781da93f3d
commit 38af4a6f16
3 changed files with 9 additions and 6 deletions

View File

@ -25,6 +25,7 @@ class AModule : public IModule {
SCROLL_DIR getScrollDir(GdkEventScroll *e);
bool tooltipEnabled();
std::vector<int> pid_children_;
const std::string name_;
const Json::Value &config_;
Gtk::EventBox event_box_;
@ -33,7 +34,6 @@ class AModule : public IModule {
virtual bool handleScroll(GdkEventScroll *);
private:
std::vector<int> pid_;
gdouble distance_scrolled_y_;
gdouble distance_scrolled_x_;
static const inline std::map<std::pair<uint, GdkEventType>, std::string> eventMap_{