commit 3f32b9f
Devine Lu Linvega
·
2022-06-03 21:54:40 +0000 UTC
parent 1b982f1
Stop on System/halt
1 files changed,
+2,
-0
+2,
-0
1@@ -246,6 +246,8 @@ main(int argc, char **argv)
2 fds[0].events = fds[1].events = POLLIN;
3 /* main loop */
4 while(1) {
5+ if(u.dev[0x0f])
6+ break;
7 if(poll(fds, 2, 1000) <= 0)
8 continue;
9 while(XPending(display))