summaryrefslogtreecommitdiffstats
path: root/README.hacking
diff options
context:
space:
mode:
Diffstat (limited to 'README.hacking')
-rw-r--r--README.hacking9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.hacking b/README.hacking
index f2958b4..09147f7 100644
--- a/README.hacking
+++ b/README.hacking
@@ -50,6 +50,11 @@ Requirements for inclusion with the XScreenSaver collection
your name and the current year). The GNU GPL is not compatible with
the rest of XScreenSaver.
+ - No clocks! Just as time travellers always try to kill Hitler on their
+ first trip, everyone seems to think that their first screen saver
+ should be a clock of some kind. Nobody needs to know what time it is
+ with such frequency. Fight The Tyranny Of The Clock.
+
==========================================================================
The XScreenSaver API
@@ -184,6 +189,10 @@ Programming Tips
in long-lived processes where no such cleanup takes place.
Consider Valgrind or gcc -fsanitize=leak to find memory leaks.
+ - Again, don't use global variables. If you are doing your developent
+ under X11, test your saver from the command line with the "-pair"
+ argument. If that crashes, you're using global variables!
+
==========================================================================
macOS, iOS and Android