Merge pull request #5041 from yuukibarns/enable-bar-scroll

feat(niri/workspaces): Add `enable-bar-scroll` option
This commit is contained in:
Alexis Rouillard
2026-07-04 00:10:51 +02:00
committed by GitHub
3 changed files with 51 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ class Workspaces : public AModule, public EventHandler {
void sortWorkspaces(std::vector<Json::Value>& workspaces) const;
Gtk::Button& addButton(const Json::Value& ws);
std::string getIcon(const std::string& value, const Json::Value& ws);
bool handleScroll(GdkEventScroll* /*unused*/) override;
const Bar& bar_;
Gtk::Box box_;