openbsd-ports/x11/xview/config/patches/p-libxview-notify-ntfy_test_c

21 lines
886 B
Plaintext
Raw Normal View History

--- lib/libxview/notify/ntfy_test.c.orig 1993-06-29 07:18:12.000000000 +0200
+++ lib/libxview/notify/ntfy_test.c 2003-12-30 01:31:13.000000000 +0100
@@ -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,
}
/* 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 */