diff options
author | Benedikt Heine <bebe@bebehei.de> | 2018-07-16 12:13:05 +0200 |
---|---|---|
committer | Benedikt Heine <bebe@bebehei.de> | 2018-07-16 12:13:05 +0200 |
commit | c942a4b9fca5290f40dd93abcdd922b89a860528 (patch) | |
tree | 77c7a49fe478ad6709faa49f1c91d3137bbf4dae /src/notifications | |
parent | Update image_data hint to current notification spec (diff) | |
download | nheko-c942a4b9fca5290f40dd93abcdd922b89a860528.tar.xz |
Explicitly set no timeout for notifications
The notification spec handles -1 and 0 as special values: -1 -> representation for "undef" 0 -> infinitely values above 0 represent the timeout in ms. The notification messages should disappear again and with 0, this insn't the case. Setting it to -1 lets the notification manager decide the timeout and displays the notification like all others.
Diffstat (limited to 'src/notifications')
-rw-r--r-- | src/notifications/ManagerLinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp |