aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notify/service_test.go
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 14:05:38 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 14:05:38 +0200
commit08349a30ca4221d399559481cb520864e5fe8d8a (patch)
tree58e88230c3f40f25d228e2ffa948f25307edf1e2 /internal/notify/service_test.go
parent6d5a9ef98008c998b1960d7febbebe21224e9e1b (diff)
downloadnotifyd-08349a30ca4221d399559481cb520864e5fe8d8a.tar.gz
notifyd-08349a30ca4221d399559481cb520864e5fe8d8a.zip
fix: honour the freedesktop expire_timeout direction
The spec says -1 means the server decides and 0 means never; the code had them swapped, so a plain notify-send (libnotify's default is -1) became immortal and an explicit never (-t 0) got the urgency default. Found by the live handover test, where notify-send produced expires 0. The urgency default is unchanged: low and normal 10s, critical never.
Diffstat (limited to 'internal/notify/service_test.go')
0 files changed, 0 insertions, 0 deletions