Use a less invasive method for grabbing user attention

This commit is contained in:
DevilXD committed 2025-06-21 19:00:09 +02:00
1 parent cd4eeeeab2
commit eb1dc1356b
1 file changed
+1 -1
+1 -1
View File
@@ -2245,7 +2245,7 @@ class GUIManager:
def grab_attention(self, *, sound: bool = True):
self.tray.restore()
self._root.focus_force()
self._root.focus_set()
if sound:
self._root.bell()