openbsd-ports/x11/xview/config/patches/p-libxview-notify-ntfy_test_c
2010-05-28 01:13:54 +00:00

21 lines
878 B
Plaintext

--- lib/libxview/notify/ntfy_test.c.orig Tue Jun 29 07:18:12 1993
+++ lib/libxview/notify/ntfy_test.c Sun May 23 14:16:14 2010
@@ -989,7 +989,7 @@ nt_try_send_event(client, cond)
fprintf(stderr, "%s in unknown destroy status\n", arg1);
goto Error;
}
- if ((ne = notify_post_destroy(client, status)) != NOTIFY_OK) {
+ if ((ne = notify_post_destroy(client, status), NOTIFY_IMMEDIATE) != NOTIFY_OK) {
if (!(status == DESTROY_CHECKING &&
ne == NOTIFY_DESTROY_VETOED)) {
notify_perror("notify_destroy");
@@ -1781,7 +1781,7 @@ nt_prioritizer(nclient, nfd, ibits_ptr, obits_ptr, ebi
}
/* Send only last client event */
if (*event_count_ptr > 0) {
- (void) notify_event(nclient, *(events + (*event_count_ptr) - 1));
+ (void) notify_event(nclient, *(events + (*event_count_ptr) - 1), 0);
*event_count_ptr--;
}
/* Send fd 1 input */