summary refs log tree commit diff
path: root/sandman.m
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
 		}
 	];
'/catgirl/commit/input.c?h=2.2a&id=8bdd1578c735931bafd213792ce5903f9f78486b&follow=1'>Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe