mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
23 lines
905 B
Plaintext
23 lines
905 B
Plaintext
$NetBSD: patch-dt,v 1.2 2009/12/10 20:35:58 abs Exp $
|
|
|
|
--- lib/libxview/notify/ntfy_test.c.orig 1993-06-29 05:18:12.000000000 +0000
|
|
+++ lib/libxview/notify/ntfy_test.c
|
|
@@ -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 */
|