X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fapollonian.c;h=72c0d002e55fe94d38092add108c93ad5afa664e;hp=be2e6ab4c6b7b340fca9a0f692dad1fc9f82ba71;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/apollonian.c b/hacks/apollonian.c index be2e6ab4..72c0d002 100644 --- a/hacks/apollonian.c +++ b/hacks/apollonian.c @@ -70,11 +70,12 @@ static const char sccsid[] = "@(#)apollonian.c 5.02 2001/07/01 xlockmore"; "*count: 64 \n" \ "*cycles: 20 \n" \ "*ncolors: 64 \n" \ + "*font: fixed" "\n" \ "*fpsTop: true \n" \ "*fpsSolid: true \n" \ + "*ignoreRotation: True" \ # define refresh_apollonian 0 -# define apollonian_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ # include "erase.h" #else /* STANDALONE */ @@ -828,6 +829,17 @@ reshape_apollonian(ModeInfo * mi, int width, int height) init_apollonian (mi); } +ENTRYPOINT Bool +apollonian_handle_event (ModeInfo *mi, XEvent *event) +{ + if (screenhack_event_helper (MI_DISPLAY(mi), MI_WINDOW(mi), event)) + { + reshape_apollonian (mi, MI_WIDTH(mi), MI_HEIGHT(mi)); + return True; + } + return False; +} + ENTRYPOINT void release_apollonian (ModeInfo * mi) {