17 Commits

Author SHA1 Message Date
Kovid Goyal
2bffea2bdc Implement updating of notifications 2024-07-28 12:25:35 +05:30
Kovid Goyal
c18098d872 Cleanup DBUS send notification API 2024-07-26 23:57:36 +05:30
Kovid Goyal
2c90baf0b6 Get icon names working on linux 2024-07-26 23:57:36 +05:30
Kovid Goyal
7e610eb645 Get closing of notifications working on Linux
Also implement support for the ActivationToken signal
so that OS Windows are focused on Wayland when clicking
on a notification.
2024-07-25 12:22:58 +05:30
Kovid Goyal
d68e49fe64 Start work on refactoring notifications handling
Makes the code cleaner and easily mockable for testing.
Also, add code to handle closing notifications on Linux.
2024-07-25 06:45:10 +05:30
Kovid Goyal
b5022cbd81 DRYer 2024-05-16 20:17:15 +05:30
Kovid Goyal
32f3d43aa0 Support setting urgency for DBUS notifications 2024-05-16 20:10:26 +05:30
pagedown
15615a4cd1 Avoid defining variables with the same name that already exist
Avoid using existing parameter names for local variables.
Avoid using variable names from upper level for nested loops.
Avoid local variables hiding existing global variables.
2022-01-01 21:29:32 +08:00
Kovid Goyal
841c907efc Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
Luflosi
f38b27e923 Add check for NULL after malloc() 2019-02-24 14:48:54 +01:00
Kovid Goyal
cb8116e2af Fix leak of a few bytes of memory after every update notification
Fixes #1411
2019-02-24 10:19:19 +05:30
Kovid Goyal
728dbbfff0 ... 2019-02-03 19:41:19 +05:30
Kovid Goyal
cffaa54a78 Forgot to dispatch events on the dbus session bus 2019-02-03 18:24:47 +05:30
Kovid Goyal
48d792bc19 ... 2019-02-03 15:58:29 +05:30
Kovid Goyal
4c9a6ed56c Set a default action name on the dbus notification 2019-02-03 13:53:26 +05:30
Kovid Goyal
1bf2864638 API to handle DBus user notification activation 2019-02-03 13:20:07 +05:30
Kovid Goyal
670de085a3 Add API to GLFW for user notifications using DBus 2019-02-02 13:48:26 +05:30