-#define MODE_sphere
-#define PROGCLASS "Sphere"
-#define HACK_INIT init_sphere
-#define HACK_DRAW draw_sphere
-#define sphere_opts xlockmore_opts
-#define DEFAULTS "*delay: 1000 \n" \
- "*cycles: 20 \n" \
- "*size: 0 \n" \
- "*ncolors: 64 \n"
-#define BRIGHT_COLORS
-#include "xlockmore.h" /* from the xscreensaver distribution */
+# define MODE_sphere
+#define DEFAULTS "*delay: 20000 \n" \
+ "*cycles: 20 \n" \
+ "*size: 0 \n" \
+ "*ncolors: 64 \n" \
+ "*fpsSolid: true \n" \
+
+# define BRIGHT_COLORS
+# define reshape_sphere 0
+# define sphere_handle_event 0
+# include "xlockmore.h" /* from the xscreensaver distribution */