X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fflow.c;h=794776f1200cba66fe36e633095b93bf2d5f33ad;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hp=a2c819916bc98ec32b5b780022bb1e9d71484373;hpb=50be9bb40dc60130c99ffa568e6677779904ff70;p=xscreensaver diff --git a/hacks/flow.c b/hacks/flow.c index a2c81991..794776f1 100644 --- a/hacks/flow.c +++ b/hacks/flow.c @@ -104,7 +104,6 @@ static const char sccsid[] = "@(#)flow.c 5.00 2000/11/01 xlockmore"; "*cycles: 10000 \n" \ "*ncolors: 200 \n" -# define reshape_flow 0 # define flow_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ #else /* STANDALONE */ @@ -1201,6 +1200,13 @@ draw_flow (ModeInfo * mi) } } +ENTRYPOINT void +reshape_flow(ModeInfo * mi, int width, int height) +{ + init_flow (mi); +} + + ENTRYPOINT void release_flow (ModeInfo * mi) {