diff options
author | Simon Rettberg | 2024-09-06 14:42:37 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-09-06 14:42:37 +0200 |
commit | badef32037f52f79abc1f1440b786cd71afdf270 (patch) | |
tree | 412b792d4cab4a7a110db82fcf74fe8a1ac55ec1 /README.hacking | |
parent | Delete pre-6.00 files (diff) | |
download | xscreensaver-master.tar.gz xscreensaver-master.tar.xz xscreensaver-master.zip |
Diffstat (limited to 'README.hacking')
-rw-r--r-- | README.hacking | 7 |
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 |