Actually handle the sound parameter

This commit is contained in:
DevilXD committed 2024-01-15 12:19:22 +01:00
1 parent caecef4ecd
commit f125bf058e
1 file changed
+2 -1
+2 -1
View File
@@ -2111,7 +2111,8 @@ class GUIManager:
def grab_attention(self, *, sound: bool = True): def grab_attention(self, *, sound: bool = True):
self.tray.restore() self.tray.restore()
self._root.focus_force() self._root.focus_force()
self._root.bell() if sound:
self._root.bell()
def set_games(self, games: abc.Iterable[Game]) -> None: def set_games(self, games: abc.Iterable[Game]) -> None:
self.settings.set_games(games) self.settings.set_games(games)