summaryrefslogtreecommitdiffstats
path: root/README.hacking
diff options
context:
space:
mode:
authorSimon Rettberg2022-01-20 13:33:11 +0100
committerSimon Rettberg2022-01-20 13:33:11 +0100
commit3d748ebe7d900e96670ff3d455896998dfba6191 (patch)
treee8bbaf6531897a2292da2158a46e9dce3df96baf /README.hacking
parentRe-sync dpms settings on unblank (diff)
downloadxscreensaver-3d748ebe7d900e96670ff3d455896998dfba6191.tar.gz
xscreensaver-3d748ebe7d900e96670ff3d455896998dfba6191.tar.xz
xscreensaver-3d748ebe7d900e96670ff3d455896998dfba6191.zip
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