pkgsrc/x11/xview-lib/patches/patch-dt
tron 71146f333e Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
2001-12-20 09:19:53 +00:00

22 lines
847 B
Text

$NetBSD: patch-dt,v 1.1 2001/12/20 09:20:08 tron Exp $
--- lib/libxview/notify/ntfy_test.c.orig Tue Jun 29 07:18:12 1993
+++ lib/libxview/notify/ntfy_test.c Thu Dec 20 10:09:16 2001
@@ -989,7 +989,7 @@
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 @@
}
/* 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 */