diff options
author | Aylur <[email protected]> | 2024-12-19 21:32:48 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2024-12-19 21:32:48 +0100 |
commit | 61637d6333bd812021763039ceea61e7f7d29dbf (patch) | |
tree | bebdc24df1d5d0a9c7bf2c2f98376c1be341ee80 /lib/notifd/notification.vala | |
parent | 64150c7739049e3cc9b6b931eba58a635cbc24df (diff) | |
parent | c12fb05408c1cd1b1bca545fec636abda52f6755 (diff) |
Merge branch 'main' into feat/tray-gtk4
Diffstat (limited to 'lib/notifd/notification.vala')
-rw-r--r-- | lib/notifd/notification.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/notifd/notification.vala b/lib/notifd/notification.vala index 29c6c56..c28138f 100644 --- a/lib/notifd/notification.vala +++ b/lib/notifd/notification.vala @@ -142,9 +142,11 @@ public class AstalNotifd.Notification : Object { return 0; var v = hints.get(hint); - if (v.get_type_string() == "b") + // daemon uses byte as per spec + if (v.get_type_string() == "y") return v.get_byte(); + // proxy uses int64 from json if (v.get_type_string() == "x") return (uint8)v.get_int64(); |