We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11bab7a commit 827c268Copy full SHA for 827c268
src/panel/widgets/volume.cpp
@@ -138,6 +138,8 @@ void WayfireVolume::on_volume_scroll(GdkEventScroll *event)
138
int32_t current_volume = volume_scale.get_target_value();
139
const int32_t adjustment_step = max_norm * INCREMENT_STEP_PC;
140
141
+ button->set_keyboard_interactive(false);
142
+
143
/* Adjust volume on button scroll */
144
if ((event->direction == GDK_SCROLL_UP) ||
145
((event->direction == GDK_SCROLL_SMOOTH) && (event->delta_y < 0)))
@@ -151,7 +153,7 @@ void WayfireVolume::on_volume_scroll(GdkEventScroll *event)
151
153
set_volume(std::max(current_volume - adjustment_step, 0));
152
154
}
155
- button->grab_focus();
156
+ button->set_keyboard_interactive();
157
check_set_popover_timeout();
158
159
0 commit comments