summary refs log tree commit diff
path: root/sandman.m
diff options
context:
space:
mode:
Diffstat (limited to 'sandman.m')
-rw-r--r--sandman.m14
1 files changed, 1 insertions, 13 deletions
diff --git a/sandman.m b/sandman.m
index e8163c0..cc8bcc9 100644
--- a/sandman.m
+++ b/sandman.m
@@ -59,19 +59,7 @@ int main(int argc, char *argv[]) {
 		queue: nil
 		usingBlock: ^(NSNotification *note) {
 			(void)note;
-			int error = kill(pid, SIGTSTP);
-			if (error) err(EX_UNAVAILABLE, "kill %d", pid);
-		}
-	];
-	
-	[
-		[[NSWorkspace sharedWorkspace] notificationCenter]
-		addObserverForName: NSWorkspaceDidWakeNotification
-		object: nil
-		queue: nil
-		usingBlock: ^(NSNotification *note) {
-			(void)note;
-			int error = kill(pid, SIGCONT);
+			int error = kill(pid, SIGHUP);
 			if (error) err(EX_UNAVAILABLE, "kill %d", pid);
 		}
 	];
07cc9a9255f61&follow=1'>Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe Also add section 6 manuals from NetBSD and OpenBSD! 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe