From 49caab47a6b0c8fb9805c00556230f5d85ccb139 Mon Sep 17 00:00:00 2001 From: Alan Vannereau Date: Fri, 22 Dec 2023 11:50:41 +0100 Subject: [PATCH] Fix wireplumber reverse-scroll option --- src/modules/wireplumber.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/modules/wireplumber.cpp b/src/modules/wireplumber.cpp index b2fcb492..51bb708d 100644 --- a/src/modules/wireplumber.cpp +++ b/src/modules/wireplumber.cpp @@ -317,13 +317,6 @@ bool waybar::modules::Wireplumber::handleScroll(GdkEventScroll* e) { if (dir == SCROLL_DIR::NONE) { return true; } - if (config_["reverse-scrolling"].asInt() == 1) { - if (dir == SCROLL_DIR::UP) { - dir = SCROLL_DIR::DOWN; - } else if (dir == SCROLL_DIR::DOWN) { - dir = SCROLL_DIR::UP; - } - } double max_volume = 1; double step = 1.0 / 100.0; if (config_["scroll-step"].isDouble()) {