X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdrift.c;h=711bc09e96991348213b0b49e5af500fcd4e42b8;hp=56e89b0a1ef85aa61372448008d00dfb8bd7c198;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/drift.c b/hacks/drift.c index 56e89b0a..711bc09e 100644 --- a/hacks/drift.c +++ b/hacks/drift.c @@ -38,7 +38,6 @@ static const char sccsid[] = "@(#)drift.c 5.00 2000/11/01 xlockmore"; "*fpsSolid: true \n" \ # define SMOOTH_COLORS -# define reshape_drift 0 # define drift_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ # include "erase.h" @@ -684,6 +683,13 @@ release_drift(ModeInfo * mi) } } +ENTRYPOINT void +reshape_drift(ModeInfo * mi, int width, int height) +{ + MI_CLEARWINDOW(mi); + init_drift (mi); +} + ENTRYPOINT void refresh_drift(ModeInfo * mi) {