mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
This fuzzy clock display only changes approximately every 5 minutes, so it's crazy that it internally updates every 10 microseconds. Save CPU and let it sleep a second at a time. While here, remove indefinite article from comment, remove unnecessary NOPORTDOCS check, and indicate GPLv2 license. PR: ports/181137 Submitted-by: Marcus Reid
11 lines
203 B
C
11 lines
203 B
C
--- xdisplay.c.orig 2004-11-23 21:32:48.000000000 +0000
|
|
+++ xdisplay.c
|
|
@@ -383,7 +383,7 @@ void display_main_loop(void)
|
|
x_handle_event(&event);
|
|
}
|
|
|
|
- usleep(100);
|
|
+ sleep(1);
|
|
}
|
|
}
|
|
|