From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver] / hacks / demon.c
index 3d35dca5aef3b6f52cddbdf4a2f287c975b1fd4a..947134841ec64482f0c09ccb891418bd9085f842 100644 (file)
@@ -58,6 +58,7 @@ static const char sccsid[] = "@(#)demon.c     5.00 2000/11/01 xlockmore";
                                        "*size:    -7    \n" \
                                        "*ncolors: 64    \n" \
                                        "*fpsSolid: true    \n" \
+                                   "*ignoreRotation: True  \n" \
 
 # define demon_handle_event 0
 # define UNIFORM_COLORS
@@ -165,7 +166,6 @@ drawcell(ModeInfo * mi, int col, int row, unsigned char state)
                gc = MI_GC(mi);
        } else {
                XGCValues   gcv;
-
 #ifdef DO_STIPPLE
                gcv.stipple = dp->pixmaps[(state - 1) % (NUMSTIPPLES - 1)];
 #endif /* DO_STIPPLE */
@@ -466,6 +466,10 @@ init_demon (ModeInfo * mi)
 #endif /* DO_STIPPLE */
        free_struct(dp);
 
+#ifdef HAVE_COCOA
+    jwxyz_XSetAntiAliasing (MI_DISPLAY(mi), MI_GC(mi), False);
+#endif
+
        for (nk = 0; nk < NEIGHBORKINDS; nk++) {
                if (neighbors == plots[0][nk]) {
                        dp->neighbors = plots[0][nk];