aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-23 05:43:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-23 05:43:56 +0000
commite88ec86c9337b0a2e1b9d3d1d207005a4c084a79 (patch)
tree100768696f93dfdf04706bcb044cd32674ce1771
parentpgo: update spawn() prototype (diff)
pgo: update notify_notify() prototype, add notify_free()
-rw-r--r--pgo/pgo.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/pgo/pgo.c b/pgo/pgo.c
index 7aabebb4..6c13b72a 100644
--- a/pgo/pgo.c
+++ b/pgo/pgo.c
@@ -151,13 +151,18 @@ void ime_enable(struct seat *seat) {}
void ime_disable(struct seat *seat) {}
void ime_reset_preedit(struct seat *seat) {}
+bool
+notify_notify(const struct terminal *term, struct notification *notif)
+{
+ return true;
+}
+
void
- notify_notify(
- const struct terminal *term, const char *title, const char *body,
- enum notify_when when, enum notify_urgency urgency)
+notify_free(struct terminal *term, struct notification *notif)
{
}
+
void reaper_add(struct reaper *reaper, pid_t pid, reaper_cb cb, void *cb_data) {}
void reaper_del(struct reaper *reaper, pid_t pid) {}