Skip to content

Commit a60065b

Browse files
committed
Fix auto hide
1 parent 3716f5b commit a60065b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
* The hide command can now take multiple UIDs, and will hide all of them.
66
* The hide command takes a new argument -r/--regex that indicates UIDs should be
77
interpreted as regular expressions.
8+
9+
## 1.1.1
10+
11+
Fix auto hide.
12+

wlosd/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1"
1+
__version__ = "1.1.1"

wlosd/wlosd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def on_show(self, uid: str, text: str, is_markup: bool,
154154

155155
if hide_sec is not None:
156156
self._show_timers[uid] = GLib.timeout_add(int(hide_sec * 1000),
157-
self.on_hide, uid)
157+
self.on_hide, [uid])
158158

159159
return GLib.SOURCE_REMOVE
160160

0 commit comments

Comments
 (0)