X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fapollonian.c;h=be2e6ab4c6b7b340fca9a0f692dad1fc9f82ba71;hp=ab34e04abc67d1766ca5e5fba004e3c76cfd7133;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/apollonian.c b/hacks/apollonian.c index ab34e04a..be2e6ab4 100644 --- a/hacks/apollonian.c +++ b/hacks/apollonian.c @@ -74,7 +74,6 @@ static const char sccsid[] = "@(#)apollonian.c 5.02 2001/07/01 xlockmore"; "*fpsSolid: true \n" \ # define refresh_apollonian 0 -# define reshape_apollonian 0 # define apollonian_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ # include "erase.h" @@ -822,6 +821,13 @@ draw_apollonian (ModeInfo * mi) } } +ENTRYPOINT void +reshape_apollonian(ModeInfo * mi, int width, int height) +{ + XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi)); + init_apollonian (mi); +} + ENTRYPOINT void release_apollonian (ModeInfo * mi) {