Skip to content

Commit

Permalink
volume: Hide volume popover after scroll event
Browse files Browse the repository at this point in the history
The timer was not being set for the widget that was scrolled on, only
other widgets that recieved a volume change event externally.
  • Loading branch information
soreau committed Jan 11, 2025
1 parent a7a1bad commit 54b1e7e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/panel/widgets/volume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ bool WayfireVolume::on_popover_timeout(int timer)
void WayfireVolume::check_set_popover_timeout()
{
popover_timeout.disconnect();
if (this->button->is_popover_focused())
{
return;
}

popover_timeout = Glib::signal_timeout().connect(sigc::bind(sigc::mem_fun(*this,
&WayfireVolume::on_popover_timeout), 0), timeout * 1000);
}
Expand Down

0 comments on commit 54b1e7e

Please sign in to comment.