SHA256
1
0
forked from pool/fcitx
fcitx/fcitx-4.2.8-freedesktop-notify.c-DBUS_TIMEOUT_USE_DEFAULT.patch

16 lines
573 B
Diff
Raw Normal View History

Index: fcitx-4.2.8/src/module/freedesktop-notify/freedesktop-notify.c
===================================================================
--- fcitx-4.2.8.orig/src/module/freedesktop-notify/freedesktop-notify.c
+++ fcitx-4.2.8/src/module/freedesktop-notify/freedesktop-notify.c
@@ -50,6 +50,10 @@
NOTIFICATIONS_MATCH_SIGNAL "," \
"member='NotificationClosed'"
+#ifndef DBUS_TIMEOUT_USE_DEFAULT
+# define DBUS_TIMEOUT_USE_DEFAULT (-1)
+#endif
+
static void *FcitxNotifyCreate(FcitxInstance *instance);
static void FcitxNotifyDestroy(void *arg);