From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver] / hacks / glx / glschool.c
index c8f6e2c1490ae1160bfc5cbb3c9549457f9f3d54..49cfc1154a66025919fb6beaaac0804db1da5e4f 100644 (file)
@@ -16,9 +16,9 @@
                     "*showFPS:      False       \n" \
                     "*wireframe:    False       \n" \
 
-#define refresh_glschool               (0)
+#define free_glschool                  (0)
 #define release_glschool               (0)
-#define glschool_handle_event  (0)
+#define glschool_handle_event  (xlockmore_no_events)
 
 #undef countof
 #define countof(x) (sizeof((x))/sizeof((*x)))
@@ -142,7 +142,7 @@ init_glschool(ModeInfo *mi)
        Bool                                    wire = MI_IS_WIREFRAME(mi);
        glschool_configuration  *sc;
 
-       MI_INIT (mi, scs, NULL);
+       MI_INIT (mi, scs);
        sc = &scs[MI_SCREEN(mi)];
 
        sc->drawGoal = DoDrawGoal;