summaryrefslogtreecommitdiffstats
path: root/README.hacking
diff options
context:
space:
mode:
authorSimon Rettberg2024-09-06 14:42:37 +0200
committerSimon Rettberg2024-09-06 14:42:37 +0200
commitbadef32037f52f79abc1f1440b786cd71afdf270 (patch)
tree412b792d4cab4a7a110db82fcf74fe8a1ac55ec1 /README.hacking
parentDelete pre-6.00 files (diff)
downloadxscreensaver-badef32037f52f79abc1f1440b786cd71afdf270.tar.gz
xscreensaver-badef32037f52f79abc1f1440b786cd71afdf270.tar.xz
xscreensaver-badef32037f52f79abc1f1440b786cd71afdf270.zip
Diffstat (limited to 'README.hacking')
-rw-r--r--README.hacking7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.hacking b/README.hacking
index 39f9e14..39d8b16 100644
--- a/README.hacking
+++ b/README.hacking
@@ -39,9 +39,7 @@ Requirements for inclusion with the XScreenSaver collection
include it in the xscreensaver distribution. However, there are a few
requirements for me to distribute it:
- - Write in portable ANSI C. No C++. No nonstandard libraries.
-
- - Write a .man page describing all command-line options.
+ - Write in portable ISO C99. No C++. No nonstandard libraries.
- Write an .xml file describing the graphical configuration dialog box.
@@ -97,7 +95,8 @@ The XScreenSaver API
You may not store global state in global variables, or in function-local
static variables. All of your runtime state must be encapsulated in the
"state" object created by your "init" function. If you use global or
- static variables, your screen saver will not work properly on macOS.
+ static variables, your screen saver will not work properly on macOS,
+ iOS or Android.
Do not call XSync() or XFlush(). If you think you need to do that, it
probably means that you are you are relying on the speed of the graphics