#define DEFAULTS "*delay: 10000 \n" \
"*count: 1000 \n" \
"*cycles: 2500 \n" \
- "*ncolors: 200 \n"
+ "*ncolors: 200 \n" \
+ "*fpsSolid: true \n" \
+ "*ignoreRotation: True \n" \
+
# define SMOOTH_COLORS
# define reshape_hop 0
-# define hop_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
# include "erase.h"
#else /* STANDALONE */
MI_CLEARWINDOW(mi);
}
+ENTRYPOINT Bool
+hop_handle_event (ModeInfo *mi, XEvent *event)
+{
+ if (screenhack_event_helper (MI_DISPLAY(mi), MI_WINDOW(mi), event))
+ {
+ MI_CLEARWINDOW(mi);
+ init_hop (mi);
+ return True;
+ }
+ return False;
+}
+
+
+
XSCREENSAVER_MODULE_2 ("Hopalong", hopalong, hop)
#endif /* MODE_hop */