mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Fix twitchy scrolling on touchpads (#381)
Fix twitchy scrolling on touchpads
This commit is contained in:
@ -36,6 +36,7 @@ class ALabel : public IModule {
|
||||
|
||||
private:
|
||||
std::vector<int> pid_;
|
||||
gdouble distance_scrolled_;
|
||||
};
|
||||
|
||||
} // namespace waybar
|
||||
|
@ -41,6 +41,7 @@ class Workspaces : public IModule, public sigc::trackable {
|
||||
util::JsonParser parser_;
|
||||
bool scrolling_;
|
||||
std::unordered_map<std::string, Gtk::Button> buttons_;
|
||||
gdouble distance_scrolled_;
|
||||
|
||||
util::SleeperThread thread_;
|
||||
Ipc ipc_;
|
||||
|
Reference in New Issue
Block a user